diff options
Diffstat (limited to 'app/views/repositories/branches.html.haml')
-rw-r--r-- | app/views/repositories/branches.html.haml | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/app/views/repositories/branches.html.haml b/app/views/repositories/branches.html.haml index 23e3eac3b35..c56b54d5349 100644 --- a/app/views/repositories/branches.html.haml +++ b/app/views/repositories/branches.html.haml @@ -1,20 +1,6 @@ = 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 + = render "repositories/branch", :branch => branch |