summaryrefslogtreecommitdiff
path: root/app/views/keys/_show.html.haml
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-09 00:36:38 +0300
committergitlabhq <m@gitlabhq.com>2011-10-09 00:36:38 +0300
commit9ba1224867665844b117fa037e1465bb706b3685 (patch)
tree52fbfc1cdb55df21843965479c97be0c91121a9a /app/views/keys/_show.html.haml
parent93efff945215a4407afcaf0cba15ac601b56df0d (diff)
downloadgitlab-ce-9ba1224867665844b117fa037e1465bb706b3685.tar.gz
init commit
Diffstat (limited to 'app/views/keys/_show.html.haml')
-rw-r--r--app/views/keys/_show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/keys/_show.html.haml b/app/views/keys/_show.html.haml
new file mode 100644
index 00000000000..a4e236256d3
--- /dev/null
+++ b/app/views/keys/_show.html.haml
@@ -0,0 +1,4 @@
+%tr
+ %td= truncate key.title, :lenght => 12
+ %td= truncate key.key, :lenght => 1114
+ %td= link_to 'Cancel', key, :confirm => 'Are you sure?', :method => :delete, :class => "lbutton negative delete-key", :id => "destroy_key_#{key.id}", :remote => true