summaryrefslogtreecommitdiffstats
path: root/app/views/issues/_changesets.html.erb
blob: f4b47c617e049a14ad0d6b4dd85aaa8be3df6d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<% changesets.each do |changeset| %>
    <div class="changeset <%= cycle('odd', 'even') %>">
    <p><%= link_to_revision(changeset, changeset.repository,
                            :text => "#{l(:label_revision)} #{changeset.format_identifier}") %>
        <% if changeset.filechanges.any? && User.current.allowed_to?(:browse_repository, changeset.project) %>
        (<%= link_to(l(:label_diff),
               :controller => 'repositories',
               :action => 'diff',
               :id     => changeset.project,
               :repository_id => changeset.repository.identifier_param,
               :path   => "",
               :rev    => changeset.identifier) %>)
        <% end %>
        <br />
        <span class="author"><%= authoring(changeset.committed_on, changeset.author) %></span></p>
    <div class="wiki">
        <%= textilizable(changeset, :comments) %>
    </div>
    </div>
<% end %>