summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Sidorenko <artem.sidorenko@telekom.de>2015-08-10 19:42:23 +0200
committerArtem Sidorenko <artem.sidorenko@telekom.de>2015-08-19 13:47:03 +0200
commit15cdf551fc612495f4bdbb02bf109feee33a471f (patch)
treeb804f19406bdbeeef7e22cc71c103b65a70efb85
parent10d2281d73536d6c38cd5613630433b1ecfc5632 (diff)
downloadgitlab-ce-15cdf551fc612495f4bdbb02bf109feee33a471f.tar.gz
Show colored icons like in the admin listing
-rw-r--r--app/views/groups/projects.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/groups/projects.html.haml b/app/views/groups/projects.html.haml
index bf44e75e7c1..d06cfa7ff9f 100644
--- a/app/views/groups/projects.html.haml
+++ b/app/views/groups/projects.html.haml
@@ -12,7 +12,8 @@
- @projects.each do |project|
%li
.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
.pull-right
- if project.archived