summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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