Feature #4266 » add_diff_link_to_issue_changesets.diff
app/views/issues/_changesets.html.erb (working copy) | ||
---|---|---|
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}") %><br /> |
|
4 |
:text => "#{l(:label_revision)} #{changeset.format_identifier}") %> |
|
5 |
<%= link_to('(diff)', |
|
6 |
:controller => 'repositories', |
|
7 |
:action => 'diff', |
|
8 |
:id => @issue.project, |
|
9 |
:repository_id => changeset.repository.identifier_param, |
|
10 |
:path => "", |
|
11 |
:rev => changeset.identifier) if changeset.filechanges.any? %> |
|
12 |
<br /> |
|
5 | 13 |
<span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p> |
6 | 14 |
<div class="wiki"> |
7 | 15 |
<%= textilizable(changeset, :comments) %> |