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

use public_icon/private_icon helper

parent 038d40f0
......@@ -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
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