Commit 09572e40 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

use public_icon/private_icon helper

parent 038d40f0
...@@ -4,10 +4,8 @@ ...@@ -4,10 +4,8 @@
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span7", readonly: true = text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span7", readonly: true
%span.add-on %span.add-on
- if @project.public - if @project.public
.cblue = public_icon
%i.icon-share %span.cblue public
public
- else - else
.cgreen = private_icon
%i.icon-lock %span.cgreen private
private
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment