diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-11-12 14:44:33 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-11-18 14:02:09 +0300 |
commit | 91fdbdcde7f2d58f6f5987640eed538588822b93 (patch) | |
tree | 5cfa7299242b03fd98f9fd463d41bc9e0a4d9f34 /app/views/shared/_clone_panel.html.haml | |
parent | b1f4d14f7d521b1ceb167a52a188eb93e9384db4 (diff) |
Add tooltips to home panel buttons.
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-rw-r--r-- | app/views/shared/_clone_panel.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml index 2e4aab36301..8bcb24ae9df 100644 --- a/app/views/shared/_clone_panel.html.haml +++ b/app/views/shared/_clone_panel.html.haml @@ -21,7 +21,6 @@ = gitlab_config.protocol.upcase = text_field_tag :project_clone, default_url_to_repo(project), class: "js-select-on-focus form-control", readonly: true - if project.kind_of?(Project) - .input-group-addon - .visibility-level-label.has_tooltip{'data-title' => "#{visibility_level_label(project.visibility_level)} project" } + .input-group-addon.has_tooltip{title: "#{visibility_level_label(project.visibility_level)} project", data: { container: "body" } } + .visibility-level-label = visibility_level_icon(project.visibility_level) - |