Commit fb5706b13dd4cb9153457625026ab79a3fe260cf
- Date: Sat Jan 26 14:17:20 +0000 2008
- Committer: Johan Sørensen (johan@johansorensen.com)
- Author: Johan Sørensen (johan@johansorensen.com)
- Commit SHA1: fb5706b13dd4cb9153457625026ab79a3fe260cf
- Tree SHA1: a54eb220cdce13b664f08760dbc604354bfed932
link to browsing the HEAD tree from browse#index
Commit diff
| |   |
| 13 | 13 | <li><%= link_to "comments (#{@comment_count})", project_repository_comments_path(@project, @repository) -%></li> |
| 14 | 14 | </ul> |
| 15 | 15 | |
| 16 | | <h2>Recent commits <small>(<%= link_to "browse", project_repository_browse_path(@project, @repository) -%>)</small></h2> |
| 16 | <h2> |
| 17 | Recent commits |
| 18 | <small> |
| 19 | (<%= link_to "Shortlog", project_repository_browse_path(@project, @repository) -%> | |
| 20 | <%= link_to "HEAD tree", project_repository_tree_path(@project, @repository, "HEAD", []) -%>) |
| 21 | </small> |
| 22 | </h2> |
| 17 | 23 | <ul> |
| 18 | 24 | <% if @commits.blank? -%> |
| 19 | 25 | <li><em>No commits yet…</em></li> |
| toggle raw diff |
--- a/app/views/repositories/show.html.erb
+++ b/app/views/repositories/show.html.erb
@@ -13,7 +13,13 @@
<li><%= link_to "comments (#{@comment_count})", project_repository_comments_path(@project, @repository) -%></li>
</ul>
- <h2>Recent commits <small>(<%= link_to "browse", project_repository_browse_path(@project, @repository) -%>)</small></h2>
+ <h2>
+ Recent commits
+ <small>
+ (<%= link_to "Shortlog", project_repository_browse_path(@project, @repository) -%> |
+ <%= link_to "HEAD tree", project_repository_tree_path(@project, @repository, "HEAD", []) -%>)
+ </small>
+ </h2>
<ul>
<% if @commits.blank? -%>
<li><em>No commits yet…</em></li> |