| 1 |
<% @page_title = "Comments in #{@repository.name}" -%> |
| 2 |
<h1>Comments on commit <%= h(@commit.id[0,7]) -%> in <%= h(@repository.name) -%></h1> |
| 3 |
|
| 4 |
<%= render :partial => "commits/commit_infobox" -%> |
| 5 |
<div class="commit_message"><%= simple_format(h(@commit.message)) -%></div> |
| 6 |
|
| 7 |
<ul class="tab_menu"> |
| 8 |
<li><%= link_to "Commit diff", |
| 9 |
project_repository_commit_path(@project, @repository, @commit.id) -%></li> |
| 10 |
<li class="selected">Comments (<%= @comments.size -%>)</li> |
| 11 |
</ul> |
| 12 |
|
| 13 |
<%= render :partial => @comments -%> |
| 14 |
|
| 15 |
<%= render :partial => "form", :locals => {:sha1 => @commit.id} -%> |
| 16 |
|
| 17 |
<% content_for :submenu do -%> |
| 18 |
<%= render :partial => "repositories/context_menu" -%> |
| 19 |
<% end -%> |