Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-02 16:08:59 +0300
committerDouwe Maan <douwe@gitlab.com>2015-12-02 16:08:59 +0300
commitd65647e90c25a1cf28353b3d0476aec0a4c6ebb7 (patch)
tree617ca9bafcdf6df5b83158d95464ad3a85a3eda1 /app/views/projects/_home_panel.html.haml
parent085e45a81cbdac73f41702764a1b53a56a298653 (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.haml4
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