Commit 97e05469e284a18f6663e0b65d8f98ff8d46c1c6

Authored by Dmitriy Zaporozhets
1 parent a4a27a5a

Remove colors from icon helpers

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
app/helpers/icons_helper.rb
@@ -8,14 +8,14 @@ module IconsHelper @@ -8,14 +8,14 @@ module IconsHelper
8 end 8 end
9 9
10 def public_icon 10 def public_icon
11 - content_tag :i, nil, class: 'icon-globe cblue' 11 + content_tag :i, nil, class: 'icon-globe'
12 end 12 end
13 13
14 def internal_icon 14 def internal_icon
15 - content_tag :i, nil, class: 'icon-shield camber' 15 + content_tag :i, nil, class: 'icon-shield'
16 end 16 end
17 17
18 def private_icon 18 def private_icon
19 - content_tag :i, nil, class: 'icon-lock cgreen' 19 + content_tag :i, nil, class: 'icon-lock'
20 end 20 end
21 end 21 end
app/views/admin/projects/index.html.haml
@@ -46,7 +46,8 @@ @@ -46,7 +46,8 @@
46 %ul.well-list 46 %ul.well-list
47 - @projects.each do |project| 47 - @projects.each do |project|
48 %li 48 %li
49 - = visibility_level_icon(project.visibility_level) 49 + %span{ class: visibility_level_color(project.visibility_level) }
  50 + = visibility_level_icon(project.visibility_level)
50 = link_to project.name_with_namespace, [:admin, project] 51 = link_to project.name_with_namespace, [:admin, project]
51 .pull-right 52 .pull-right
52 %span.label.label-gray 53 %span.label.label-gray