From 82271e78181b91cb4294cfb2f4aa790bd54343b6 Mon Sep 17 00:00:00 2001 From: Jack Weeden Date: Mon, 24 Jun 2013 23:57:26 +0100 Subject: [PATCH] Added tooltip to snippet public/private icons --- app/views/snippets/show.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml index f425c4b..ac6daed 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 -- libgit2 0.21.2