diff options
author | skv <skv-headless@yandex.ru> | 2013-12-26 10:44:59 +0400 |
---|---|---|
committer | skv <skv-headless@yandex.ru> | 2013-12-26 10:44:59 +0400 |
commit | aff37adb9ed1b721838c87c4227fca366428a438 (patch) | |
tree | c94b45cf8881f1fd84cf4a72cb6610bffb95cc2b | |
parent | c797493e00bf3adf32beb0c0b1cee9d19974485f (diff) | |
download | gitlab-ce-aff37adb9ed1b721838c87c4227fca366428a438.tar.gz |
visibility level info in project tabs
-rw-r--r-- | app/views/dashboard/_project.html.haml | 1 | ||||
-rw-r--r-- | app/views/groups/_projects.html.haml | 1 |
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 |