21 lines
613 B
Plaintext
21 lines
613 B
Plaintext
= render "head"
|
|
- unless @branches.empty?
|
|
%table
|
|
%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
|