summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_tags/shared/_matching_tag.html.haml
blob: bf030d36cd65498c921b679d35e713ceb11a4c6d (plain)
1
2
3
4
5
6
7
8
9
10
%tr
  %td
    = link_to matching_tag.name, project_ref_path(@project, matching_tag.name), class: 'ref-name'

    - if @project.root_ref?(matching_tag.name)
      %span.badge.badge-info.gl-ml-2 default
  %td
    - commit = @project.commit(matching_tag.name)
    = link_to(commit.short_id, project_commit_path(@project, commit.id), class: 'commit-sha')
    = time_ago_with_tooltip(commit.committed_date)