Feature #4266 » add_diff_link_to_issue_changesets_i18n.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}") %>
|
||
|
<%= '('.html_safe + link_to(l(:label_diff),
|
||
|
:controller => 'repositories',
|
||
|
:action => 'diff',
|
||
|
:id => @issue.project,
|
||
|
:repository_id => changeset.repository.identifier_param,
|
||
|
:path => "",
|
||
|
:rev => changeset.identifier) + ')'.html_safe if changeset.filechanges.any? %>
|
||
|
<br />
|
||
|
<span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p>
|
||
|
<div class="wiki">
|
||
|
<%= textilizable(changeset, :comments) %>
|
||