summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_branches/_matching_branch.html.haml
blob: c144f615f7bb1ba83751428a198b585e1cc920b0 (plain)
1
2
3
4
5
6
7
8
9
10
%tr
  %td
    = link_to matching_branch.name, namespace_project_commits_path(@project.namespace, @project, matching_branch.name), class: 'monospace'

    - if @project.root_ref?(matching_branch.name)
      %span.label.label-info.prepend-left-5 default
  %td
    - commit = @project.commit(matching_branch.name)
    = link_to(commit.short_id, namespace_project_commit_path(@project.namespace, @project, commit.id), class: 'commit_short_id')
    = time_ago_with_tooltip(commit.committed_date)