From aff37adb9ed1b721838c87c4227fca366428a438 Mon Sep 17 00:00:00 2001 From: skv Date: Thu, 26 Dec 2013 10:44:59 +0400 Subject: [PATCH] visibility level info in project tabs --- app/views/dashboard/_project.html.haml | 1 + app/views/groups/_projects.html.haml | 1 + 2 files changed, 2 insertions(+) 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