Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_tag.html.haml « tags « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 28ad272322ff3c1ada704fec7a8b82da175c1f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- 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