Commit 97e05469e284a18f6663e0b65d8f98ff8d46c1c6
1 parent
a4a27a5a
Exists in
master
and in
4 other branches
Remove colors from icon helpers
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
5 additions
and
4 deletions
Show diff stats
app/helpers/icons_helper.rb
... | ... | @@ -8,14 +8,14 @@ module IconsHelper |
8 | 8 | end |
9 | 9 | |
10 | 10 | def public_icon |
11 | - content_tag :i, nil, class: 'icon-globe cblue' | |
11 | + content_tag :i, nil, class: 'icon-globe' | |
12 | 12 | end |
13 | 13 | |
14 | 14 | def internal_icon |
15 | - content_tag :i, nil, class: 'icon-shield camber' | |
15 | + content_tag :i, nil, class: 'icon-shield' | |
16 | 16 | end |
17 | 17 | |
18 | 18 | def private_icon |
19 | - content_tag :i, nil, class: 'icon-lock cgreen' | |
19 | + content_tag :i, nil, class: 'icon-lock' | |
20 | 20 | end |
21 | 21 | end | ... | ... |
app/views/admin/projects/index.html.haml
... | ... | @@ -46,7 +46,8 @@ |
46 | 46 | %ul.well-list |
47 | 47 | - @projects.each do |project| |
48 | 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 | 51 | = link_to project.name_with_namespace, [:admin, project] |
51 | 52 | .pull-right |
52 | 53 | %span.label.label-gray | ... | ... |