Feature #4266 » add_diff_link_to_issue_changesets.diff
| app/views/issues/_changesets.html.erb (working copy) | ||
|---|---|---|
|
<% changesets.each do |changeset| %>
|
||
|
<div class="changeset <%= cycle('odd', 'even') %>">
|
||
|
<p><%= link_to_revision(changeset, changeset.repository,
|
||
|
:text => "#{l(:label_revision)} #{changeset.format_identifier}") %><br />
|
||
|
:text => "#{l(:label_revision)} #{changeset.format_identifier}") %>
|
||
|
<%= link_to('(diff)',
|
||
|
:controller => 'repositories',
|
||
|
:action => 'diff',
|
||
|
:id => @issue.project,
|
||
|
:repository_id => changeset.repository.identifier_param,
|
||
|
:path => "",
|
||
|
:rev => changeset.identifier) if changeset.filechanges.any? %>
|
||
|
<br />
|
||
|
<span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p>
|
||
|
<div class="wiki">
|
||
|
<%= textilizable(changeset, :comments) %>
|
||