% @page_title = "Commits in #{@repository.name} in #{@project.title}" -%>
Commitlog for <%= h(@repository.name) -%>:<%=h params[:id] -%> in <%= h(@project.title) -%>
<%= commit_graph_tag(@repository) %>
<%= render :partial => "log" -%>
<% content_for :submenu do -%>
<%= render :partial => "repositories/context_menu" -%>
<% end -%>
<% content_for :sidebar do -%>
- Project: <%= link_to h(@repository.project.title), @repository.project -%>
- Maintainer: <%= link_to h(@repository.user.login), @repository.user -%>
<% unless @commits.blank? -%>
- HEAD tree: <%= link_to h(@commits.first.tree.id[0,7]),
tree_path(@commits.first.id) -%>
<% end -%>
Branches:
<% @git.branches.sort{|a, b| a.name <=> b.name }.each do |branch| -%>
- <%= link_to h(branch.name), log_path(branch.name) -%>
<% end -%>
<% unless @git.tags.blank? -%>
Tags:
<% @git.tags.sort{|a, b| a.name <=> b.name }.each do |tag| -%>
- <%= link_to h(tag.name), commit_path(tag.commit.id) -%>
<% end -%>
<% end -%>
<%= commit_graph_by_author_tag(@repository, params[:id]) %>
<% end -%>