Commit 09572e40bc233792a9c8c528b373ba6dc4493791
1 parent
038d40f0
Exists in
master
and in
4 other branches
use public_icon/private_icon helper
Showing
1 changed file
with
4 additions
and
6 deletions
Show diff stats
app/views/shared/_clone_panel.html.haml
... | ... | @@ -4,10 +4,8 @@ |
4 | 4 | = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span7", readonly: true |
5 | 5 | %span.add-on |
6 | 6 | - if @project.public |
7 | - .cblue | |
8 | - %i.icon-share | |
9 | - public | |
7 | + = public_icon | |
8 | + %span.cblue public | |
10 | 9 | - else |
11 | - .cgreen | |
12 | - %i.icon-lock | |
13 | - private | |
10 | + = private_icon | |
11 | + %span.cgreen private | ... | ... |