mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 17:31:14 +00:00
git-svn-id: http://svn.redmine.org/redmine/trunk@13940 e93f8b46-1217-0410-a6f0-8f06a7374b81
24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
<% reply_links = authorize_for('issues', 'edit') -%>
|
|
<% for journal in journals %>
|
|
<div id="change-<%= journal.id %>" class="<%= journal.css_classes %>">
|
|
<div id="note-<%= journal.indice %>">
|
|
<h4><a href="#note-<%= journal.indice %>" class="journal-link">#<%= journal.indice %></a>
|
|
<%= avatar(journal.user, :size => "24") %>
|
|
<%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %>
|
|
<%= content_tag('span', l(:field_is_private), :class => 'private') if journal.private_notes? %></h4>
|
|
|
|
<% if journal.details.any? %>
|
|
<ul class="details">
|
|
<% details_to_strings(journal.visible_details).each do |string| %>
|
|
<li><%= string %></li>
|
|
<% end %>
|
|
</ul>
|
|
<% end %>
|
|
<%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
|
|
</div>
|
|
</div>
|
|
<%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
|
|
<% end %>
|
|
|
|
<% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %>
|