Permalink
Browse files

Remove colors from icon helpers

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  • Loading branch information...
1 parent a4a27a5 commit 97e05469e284a18f6663e0b65d8f98ff8d46c1c6 @randx randx committed Dec 6, 2013
Showing with 5 additions and 4 deletions.
  1. +3 −3 app/helpers/icons_helper.rb
  2. +2 −1 app/views/admin/projects/index.html.haml
View
6 app/helpers/icons_helper.rb
@@ -8,14 +8,14 @@ def boolean_to_icon(value)
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
3 app/views/admin/projects/index.html.haml
@@ -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

0 comments on commit 97e0546

Please sign in to comment.