2011-12-31 12:12:10 +01:00
|
|
|
= render "head"
|
|
|
|
- unless @branches.empty?
|
|
|
|
%div.update-data.ui-box.ui-box-small
|
|
|
|
.data
|
|
|
|
- @branches.each do |branch|
|
|
|
|
%a.update-item{:href => project_commits_path(@project, :ref => branch.name)}
|
|
|
|
%span.update-title{:style => "margin-bottom:0px;"}
|
|
|
|
= branch.name
|
2012-01-04 07:17:41 +01:00
|
|
|
%span.update-author.right
|
|
|
|
= time_ago_in_words(branch.commit.committed_date)
|
|
|
|
ago
|
2011-12-31 12:12:10 +01:00
|
|
|
- else
|
|
|
|
%h3 No brances
|