OSDN Git Service

b57c543e610f7f874e3ef6f1e8e9283080920f15
[redminele/redmine.git] / app / views / issues / _history.rhtml
1 <% reply_links = authorize_for('issues', 'edit') -%>
2 <% for journal in journals %>
3   <div id="change-<%= journal.id %>" class="journal">
4     <h4><div style="float:right;"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div>
5     <%= avatar(journal.user, :size => "24") %>
6     <%= content_tag('a', '', :name => "note-#{journal.indice}")%>
7                 <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4>
8     
9     <ul>
10     <% for detail in journal.details %>
11        <li><%= show_detail(detail) %></li>
12     <% end %>
13     </ul>
14     <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
15   </div>
16   <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
17 <% end %>