parent
6a82c9f018
commit
518aa7dca6
2 changed files with 0 additions and 10 deletions
|
@ -24,8 +24,3 @@ class @Project
|
|||
$.cookie('hide_no_password_message', 'false', { path: path })
|
||||
$(@).parents('.no-password-message').remove()
|
||||
e.preventDefault()
|
||||
|
||||
$('.js-toggle-clone-holder').on 'click', (e) ->
|
||||
cloneHolder.toggle()
|
||||
|
||||
cloneHolder.hide() unless $('.empty-project').length
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
Forked from
|
||||
= 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')
|
||||
|
|
Loading…
Reference in a new issue