Remove colors from icon helpers

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2013-12-06 22:14:55 +02:00
parent a4a27a5a2b
commit 97e05469e2
No known key found for this signature in database
GPG key ID: 2CEAFD2671262EC2
2 changed files with 5 additions and 4 deletions

View file

@ -8,14 +8,14 @@ module IconsHelper
end
def public_icon
content_tag :i, nil, class: 'icon-globe cblue'
content_tag :i, nil, class: 'icon-globe'
end
def internal_icon
content_tag :i, nil, class: 'icon-shield camber'
content_tag :i, nil, class: 'icon-shield'
end
def private_icon
content_tag :i, nil, class: 'icon-lock cgreen'
content_tag :i, nil, class: 'icon-lock'
end
end

View file

@ -46,7 +46,8 @@
%ul.well-list
- @projects.each do |project|
%li
= visibility_level_icon(project.visibility_level)
%span{ class: visibility_level_color(project.visibility_level) }
= visibility_level_icon(project.visibility_level)
= link_to project.name_with_namespace, [:admin, project]
.pull-right
%span.label.label-gray