From 15cdf551fc612495f4bdbb02bf109feee33a471f Mon Sep 17 00:00:00 2001 From: Artem Sidorenko Date: Mon, 10 Aug 2015 19:42:23 +0200 Subject: [PATCH] Show colored icons like in the admin listing --- app/views/groups/projects.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- GitLab