@@ -1,10 +1,20 | |||
|
1 | 1 | <% changesets.each do |changeset| %> |
|
2 | 2 | <div class="changeset <%= cycle('odd', 'even') %>"> |
|
3 | 3 | <p><%= link_to_revision(changeset, changeset.repository, |
|
4 |
:text => "#{l(:label_revision)} #{changeset.format_identifier}") %> |
|
|
4 | :text => "#{l(:label_revision)} #{changeset.format_identifier}") %> | |
|
5 | <% if changeset.filechanges.any? && User.current.allowed_to?(:browse_repository, changeset.project) %> | |
|
6 | (<%= link_to(l(:label_diff), | |
|
7 | :controller => 'repositories', | |
|
8 | :action => 'diff', | |
|
9 | :id => changeset.project, | |
|
10 | :repository_id => changeset.repository.identifier_param, | |
|
11 | :path => "", | |
|
12 | :rev => changeset.identifier) %>) | |
|
13 | <% end %> | |
|
14 | <br /> | |
|
5 | 15 | <span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p> |
|
6 | 16 | <div class="wiki"> |
|
7 | 17 | <%= textilizable(changeset, :comments) %> |
|
8 | 18 | </div> |
|
9 | 19 | </div> |
|
10 | 20 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now