summaryrefslogtreecommitdiff
path: root/app/views/shared/_clone_panel.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-11 10:02:17 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-11 10:02:17 +0300
commit09572e40bc233792a9c8c528b373ba6dc4493791 (patch)
tree0da73c7f86c3fd0a7a37b818cecf18abba99125e /app/views/shared/_clone_panel.html.haml
parent038d40f0f5b202fe9ed133fdf9de1774bdbc8ede (diff)
downloadgitlab-ce-09572e40bc233792a9c8c528b373ba6dc4493791.tar.gz
use public_icon/private_icon helper
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-rw-r--r--app/views/shared/_clone_panel.html.haml10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml
index 62e0fa25898..5120902fa0e 100644
--- a/app/views/shared/_clone_panel.html.haml
+++ b/app/views/shared/_clone_panel.html.haml
@@ -4,10 +4,8 @@
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span7", readonly: true
%span.add-on
- if @project.public
- .cblue
- %i.icon-share
- public
+ = public_icon
+ %span.cblue public
- else
- .cgreen
- %i.icon-lock
- private
+ = private_icon
+ %span.cgreen private