diff options
Diffstat (limited to 'app/views/projects/tags/_tag.html.haml')
-rw-r--r-- | app/views/projects/tags/_tag.html.haml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/app/views/projects/tags/_tag.html.haml b/app/views/projects/tags/_tag.html.haml deleted file mode 100644 index 28ad272322f..00000000000 --- a/app/views/projects/tags/_tag.html.haml +++ /dev/null @@ -1,22 +0,0 @@ -- commit = @repository.commit(tag.target) -%li - %h4 - = link_to namespace_project_commits_path(@project.namespace, @project, tag.name), class: "" do - %i.fa.fa-tag - = tag.name - - if tag.message.present? - - = strip_gpg_signature(tag.message) - .pull-right - - if can? current_user, :download_code, @project - = render 'projects/repositories/download_archive', ref: tag.name, btn_class: 'btn-grouped btn-group-xs' - - if can?(current_user, :admin_project, @project) - = link_to namespace_project_tag_path(@project.namespace, @project, tag.name), class: 'btn btn-xs btn-remove remove-row grouped', method: :delete, data: { confirm: 'Removed tag cannot be restored. Are you sure?'}, remote: true do - %i.fa.fa-trash-o - - - if commit - %ul.list-unstyled - = render 'projects/commits/inline_commit', commit: commit, project: @project - - else - %p - Cant find HEAD commit for this tag |