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

Show colored icons like in the admin listing

parent 10d2281d
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
- @projects.each do |project| - @projects.each do |project|
%li %li
.list-item-name .list-item-name
%span{ class: visibility_level_color(project.visibility_level) }
= visibility_level_icon(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
......
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