branches.html.haml 443 Bytes
= 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
            %span.update-author.right
              = time_ago_in_words(branch.commit.committed_date)
              ago
- else 
  %h3 No brances