diff options
author | Artem Sidorenko <artem.sidorenko@telekom.de> | 2015-08-10 20:42:23 +0300 |
---|---|---|
committer | Artem Sidorenko <artem.sidorenko@telekom.de> | 2015-08-19 14:47:03 +0300 |
commit | 15cdf551fc612495f4bdbb02bf109feee33a471f (patch) | |
tree | b804f19406bdbeeef7e22cc71c103b65a70efb85 | |
parent | 10d2281d73536d6c38cd5613630433b1ecfc5632 (diff) |
Show colored icons like in the admin listing
-rw-r--r-- | app/views/groups/projects.html.haml | 3 |
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 |