debian-mirror-gitlab/app/views/projects/protected_branches/shared/_matching_branch.html.haml
2020-08-09 17:44:08 +05:30

11 lines
414 B
Text

%tr
%td
= link_to matching_branch.name, project_ref_path(@project, matching_branch.name), class: 'ref-name'
- if @project.root_ref?(matching_branch.name)
%span.badge.badge-info.gl-ml-2 default
%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)