diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:08:59 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:08:59 +0300 |
commit | d65647e90c25a1cf28353b3d0476aec0a4c6ebb7 (patch) | |
tree | 617ca9bafcdf6df5b83158d95464ad3a85a3eda1 /app/views/projects/_home_panel.html.haml | |
parent | 085e45a81cbdac73f41702764a1b53a56a298653 (diff) |
Add visibility description tooltip to snippet and project visibility labels
Diffstat (limited to 'app/views/projects/_home_panel.html.haml')
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 695da7f07d1..c1669ac046b 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -12,9 +12,9 @@ Forked from = link_to project_path(forked_from_project) do = forked_from_project.namespace.try(:name) - .visibility-level-label - = visibility_level_icon(@project.visibility_level) .cover-controls.left + .visibility-level-label.has_tooltip{title: project_visibility_level_description(@project.visibility_level), data: { container: 'body' } } + = visibility_level_icon(@project.visibility_level, fw: false) = visibility_level_label(@project.visibility_level) .cover-controls |