Project

General

Profile

Feature #4266 » add_diff_link_to_issue_changesets_i18n.diff

i18n version - Go MAEDA, 2014-07-06 04:12

View differences:

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
        <%= '('.html_safe + link_to(l(:label_diff),
6
               :controller => 'repositories',
7
               :action => 'diff',
8
               :id     => @issue.project,
9
               :repository_id => changeset.repository.identifier_param,
10
               :path   => "",
11
               :rev    => changeset.identifier) + ')'.html_safe 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) %>
(6-6/8)