summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-26 13:18:02 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-26 13:18:02 +0200
commitfd6fc422c6bc8eecfd12a4b15ce06d61e7ee3a25 (patch)
tree289e6e736ea175a4b83b08d61becc0e375fd90cb
parent7458437ed970b610defc2ab3042ea1494b06e822 (diff)
parentaff37adb9ed1b721838c87c4227fca366428a438 (diff)
downloadgitlab-ce-fd6fc422c6bc8eecfd12a4b15ce06d61e7ee3a25.tar.gz
Merge branch 'privacy_label' of https://github.com/skv-headless/gitlabhq into skv-headless-privacy_label
-rw-r--r--app/views/dashboard/_project.html.haml1
-rw-r--r--app/views/groups/_projects.html.haml1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/dashboard/_project.html.haml b/app/views/dashboard/_project.html.haml
index 50b833f3d82..f8713ba088c 100644
--- a/app/views/dashboard/_project.html.haml
+++ b/app/views/dashboard/_project.html.haml
@@ -1,4 +1,5 @@
= link_to project_path(project), class: dom_class(project) do
+ = visibility_level_icon(project.visibility_level)
%span.namespace-name
- if project.namespace
= project.namespace.human_name
diff --git a/app/views/groups/_projects.html.haml b/app/views/groups/_projects.html.haml
index 16a3c60f660..4e1cfb70008 100644
--- a/app/views/groups/_projects.html.haml
+++ b/app/views/groups/_projects.html.haml
@@ -12,6 +12,7 @@
- projects.each do |project|
%li.project-row
= link_to project_path(project), class: dom_class(project) do
+ = visibility_level_icon(project.visibility_level)
%span.project-name
= truncate(project.name, length: 25)
%span.arrow