To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / issues / _history.html.erb @ 1298:4f746d8966dd

History | View | Annotate | Download (1010 Bytes)

1
<% reply_links = authorize_for('issues', 'edit') -%>
2
<% for journal in journals %>
3
  <div id="change-<%= journal.id %>" class="<%= journal.css_classes %>">
4
    <div id="note-<%= journal.indice %>">
5
    <h4><%= link_to "##{journal.indice}", {:anchor => "note-#{journal.indice}"}, :class => "journal-link" %>
6
    <%= avatar(journal.user, :size => "24") %>
7
    <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
8

    
9
    <% if journal.details.any? %>
10
    <ul class="details">
11
      <% details_to_strings(journal.details).each do |string| %>
12
       <li><%= string %></li>
13
      <% end %>
14
    </ul>
15
    <% end %>
16
    <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
17
    </div>
18
  </div>
19
  <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
20
<% end %>
21

    
22
<% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %>