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/projects/_home_panel.html.haml | |
parent | b1f4d14f7d521b1ceb167a52a188eb93e9384db4 (diff) |
Add tooltips to home panel buttons.
Diffstat (limited to 'app/views/projects/_home_panel.html.haml')
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 8c0980369fd..88d54bf6f21 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -18,17 +18,12 @@ .project-repo-buttons .split-one = render 'projects/buttons/star' + = render 'projects/buttons/fork' - - unless empty_repo - = render 'projects/buttons/fork' - = render "shared/clone_panel" - .split-repo-buttons - - unless empty_repo - - if can? current_user, :download_code, @project - = link_to archive_namespace_project_repository_path(@project.namespace, @project, ref: @ref, format: 'zip'), class: 'btn', rel: 'nofollow' do - = icon('download fw') - + + .split-repo-buttons + = render "projects/buttons/download" = render 'projects/buttons/dropdown' + = render 'projects/buttons/notifications' - |