diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-07-31 13:56:15 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-07-31 13:56:15 +0200 |
commit | 7ba765201939bafb1d433cfa315779ab5b6d92b1 (patch) | |
tree | 84ec17a9bb38d8ea1eab59484e1caf5e5c76123d /app/views/projects/_home_panel.html.haml | |
parent | 1e4b3264637a5b66a9bfb04fe9444bcf1f7e18ed (diff) | |
download | gitlab-ce-7ba765201939bafb1d433cfa315779ab5b6d92b1.tar.gz |
Tweak project page buttons.
Diffstat (limited to 'app/views/projects/_home_panel.html.haml')
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 7b6b4b35c8d..159ce1ecf3f 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -20,8 +20,14 @@ = forked_from_project.namespace.try(:name) - if can? current_user, :download_code, @project + = link_to "#", class: 'btn js-toggle-clone-holder' do + = icon('cloud-download fw') + Clone + + - 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 - %i.fa.fa-download + = icon('download fw') + Download = render 'projects/buttons/dropdown' |