.clone_urls
- clone_methods.each do |(clone_type, visible)|
%p.clone_url_block{data: {clone: clone_type, default_visible: visible.to_s}}
= t('repository.clone.header', clone_type: clone_type)
%input.form-control.clone-url{type: 'text', readonly: true, value: repository_clone_url(resource, clone_type: clone_type, port: nil)}
%p
= t('repository.clone.text', git: clone_method_link('git', t('repository.clone.git')), ssh_git: clone_method_link('ssh-git', t('repository.clone.ssh_git'))).html_safe
- if signed_in? and not current_user.keys.any?
= link_to t('repository.upload_ssh_key'), [:new, :key]