@@ -1,7 +1,17 | |||||
1 | <% changesets.each do |changeset| %> |
|
1 | <% changesets.each do |changeset| %> | |
2 | <div class="changeset <%= cycle('odd', 'even') %>"> |
|
2 | <div class="changeset <%= cycle('odd', 'even') %>"> | |
3 | <p><%= link_to_revision(changeset, changeset.repository, |
|
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 | <span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p> |
|
15 | <span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p> | |
6 | <div class="wiki"> |
|
16 | <div class="wiki"> | |
7 | <%= textilizable(changeset, :comments) %> |
|
17 | <%= textilizable(changeset, :comments) %> |
General Comments 0
You need to be logged in to leave comments.
Login now