summaryrefslogtreecommitdiff
path: root/app/views/projects/_home_panel.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-07-31 13:56:15 +0200
committerDouwe Maan <douwe@gitlab.com>2015-07-31 13:56:15 +0200
commit7ba765201939bafb1d433cfa315779ab5b6d92b1 (patch)
tree84ec17a9bb38d8ea1eab59484e1caf5e5c76123d /app/views/projects/_home_panel.html.haml
parent1e4b3264637a5b66a9bfb04fe9444bcf1f7e18ed (diff)
downloadgitlab-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.haml8
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'