gitlabhq/app/views/repositories/branches.html.haml
2012-02-18 15:59:01 +02:00

21 lines
657 B
Plaintext

= render "repositories/branches_head"
- unless @branches.empty?
%table.zebra-striped.borders
%thead
%tr
%th Name
%th Last commit
%tbody
- @branches.each do |branch|
%tr
%td
= link_to project_commits_path(@project, :ref => branch.name) do
%strong= branch.name
- if branch.name == @project.root_ref
%span.label default
%td
= link_to project_commits_path(@project, branch.commit.id) do
= truncate branch.commit.id.to_s, :length => 10
= time_ago_in_words(branch.commit.committed_date)
ago