diff options
author | Phil Hughes <me@iamphill.com> | 2016-02-22 10:08:44 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-02-22 10:08:44 +0000 |
commit | 49a95d98583de33715722551f9dd11aa63ebb734 (patch) | |
tree | 9b56535484a3507ba18b94a0a880fe3ed3f7bf91 /app | |
parent | 04d1b412587028260ac219a32bdf3b03ac022308 (diff) | |
download | gitlab-ce-49a95d98583de33715722551f9dd11aa63ebb734.tar.gz |
Show project visibility level on project listproject-type-icon-your-projects
Fixes #3779
Diffstat (limited to 'app')
-rw-r--r-- | app/views/shared/projects/_project.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml index 97db5b1d41e..72061e272f1 100644 --- a/app/views/shared/projects/_project.html.haml +++ b/app/views/shared/projects/_project.html.haml @@ -39,6 +39,9 @@ %span = icon('star') = project.star_count + %span.visibility-icon.has_tooltip{data: { container: 'body', placement: 'left' }, + title: "#{visibility_level_label(project.visibility_level)} - #{project_visibility_level_description(project.visibility_level)}"} + = visibility_level_icon(project.visibility_level, fw: false) - if show_last_commit_as_description .project-description = link_to_gfm project.commit.title, namespace_project_commit_path(project.namespace, project, project.commit), |