diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-07 00:14:55 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-07 00:14:55 +0400 |
commit | 97e05469e284a18f6663e0b65d8f98ff8d46c1c6 (patch) | |
tree | f4f9cba086c4fa8b65aaaf2f8948eb61ba3c3614 /app | |
parent | a4a27a5a2bdb44ad831a3b64c598be8d1062f653 (diff) |
Remove colors from icon helpers
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/icons_helper.rb | 6 | ||||
-rw-r--r-- | app/views/admin/projects/index.html.haml | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/app/helpers/icons_helper.rb b/app/helpers/icons_helper.rb index 1688cfc40b1..53d4a8f2e6e 100644 --- a/app/helpers/icons_helper.rb +++ b/app/helpers/icons_helper.rb @@ -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 diff --git a/app/views/admin/projects/index.html.haml b/app/views/admin/projects/index.html.haml index 890321d57ec..50b47c4c55a 100644 --- a/app/views/admin/projects/index.html.haml +++ b/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 |