Commit 15cdf551 authored by Artem Sidorenko's avatar Artem Sidorenko

Show colored icons like in the admin listing

parent 10d2281d
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
- @projects.each do |project| - @projects.each do |project|
%li %li
.list-item-name .list-item-name
= visibility_level_icon(project.visibility_level) %span{ class: visibility_level_color(project.visibility_level) }
= visibility_level_icon(project.visibility_level)
%strong= link_to project.name_with_namespace, project %strong= link_to project.name_with_namespace, project
.pull-right .pull-right
- if project.archived - if project.archived
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment