Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove colors from icon helpers

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  • Loading branch information...
commit 97e05469e284a18f6663e0b65d8f98ff8d46c1c6 1 parent a4a27a5
@randx randx authored
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.
Something went wrong with that request. Please try again.