Remove colors from icon helpers
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
a4a27a5a2b
commit
97e05469e2
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue