summaryrefslogtreecommitdiff
path: root/app/views/snippets/show.html.haml
diff options
context:
space:
mode:
authorJack Weeden <jack@ajack.org>2013-06-24 23:57:26 +0100
committerJack Weeden <jack@ajack.org>2013-06-24 23:57:26 +0100
commit82271e78181b91cb4294cfb2f4aa790bd54343b6 (patch)
tree87bb2a7fe53c37aa9812b6d53a84dc89438c73f5 /app/views/snippets/show.html.haml
parent1aeebdf68112a42f5aea97267cec5c732e1065f1 (diff)
downloadgitlab-ce-82271e78181b91cb4294cfb2f4aa790bd54343b6.tar.gz
Added tooltip to snippet public/private icons
Diffstat (limited to 'app/views/snippets/show.html.haml')
-rw-r--r--app/views/snippets/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml
index f425c4bd51e..ac6daed56b6 100644
--- a/app/views/snippets/show.html.haml
+++ b/app/views/snippets/show.html.haml
@@ -1,8 +1,8 @@
%h3.page_title
- if @snippet.private?
- %i.icon-lock.cgreen
+ %i{:class => "icon-lock cgreen has_bottom_tooltip", "data-original-title" => "Private snippet"}
- else
- %i.icon-globe.cblue
+ %i{:class => "icon-globe cblue has_bottom_tooltip", "data-original-title" => "Public snippet"}
= @snippet.title