Project

General

Profile

Feature #4266 » add_diff_link_to_issue_changesets.diff

Anonymous, 2014-07-01 09:39

View differences:

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) %>
(3-3/8)