diff options
author | Stan Hu <stanhu@gmail.com> | 2015-08-12 22:11:31 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-08-13 00:00:59 +0300 |
commit | 518aa7dca642b053980fac8e0a7b9439be144e5e (patch) | |
tree | fcc79aaa89dbfd98b025ed940c4f63e769158727 /app/views/projects/_home_panel.html.haml | |
parent | 6a82c9f01868b419975409a6819aa88dd973240d (diff) |
Bring clone bar back
See discussion in !1080
Diffstat (limited to 'app/views/projects/_home_panel.html.haml')
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 71e92970305..bec40ec27a5 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -21,11 +21,6 @@ = 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 = icon('download fw') Download |