Commit 82271e78181b91cb4294cfb2f4aa790bd54343b6
1 parent
1aeebdf6
Exists in
master
and in
4 other branches
Added tooltip to snippet public/private icons
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/snippets/show.html.haml
1 | %h3.page_title | 1 | %h3.page_title |
2 | - if @snippet.private? | 2 | - if @snippet.private? |
3 | - %i.icon-lock.cgreen | 3 | + %i{:class => "icon-lock cgreen has_bottom_tooltip", "data-original-title" => "Private snippet"} |
4 | - else | 4 | - else |
5 | - %i.icon-globe.cblue | 5 | + %i{:class => "icon-globe cblue has_bottom_tooltip", "data-original-title" => "Public snippet"} |
6 | 6 | ||
7 | = @snippet.title | 7 | = @snippet.title |
8 | 8 |