debian-mirror-gitlab/app/views/protected_branches/shared/_matching_branch.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
462 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
%tr
%td
= link_to matching_branch.name, project_ref_path(@project, matching_branch.name), class: 'ref-name'
- if @project.root_ref?(matching_branch.name)
2022-01-26 12:08:38 +05:30
= gl_badge_tag s_('ProtectedBranch|default'), { variant: :info }, { class: 'gl-ml-2' }
2017-09-10 17:25:29 +05:30
%td
- commit = @project.commit(matching_branch.name)
= link_to(commit.short_id, project_commit_path(@project, commit.id), class: 'commit-sha')
= time_ago_with_tooltip(commit.committed_date)