Skip to content
Snippets Groups Projects
Commit 09572e40 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

use public_icon/private_icon helper

parent 038d40f0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment