Redmine-Jobs/app/views/jobs/tabs/_history.html.erb

32 lines
934 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%
job = tab[:locals][:job]
journals = tab[:locals][:journals]
%>
<% reply_links = job.notes_addable? %>
<% journals.each_with_index do |journal, indice| %>
<div id="change-<%= journal.id %>" class="journal has-notes">
<div id="note-<%= indice %>" class="note">
<div class="contextual">
<span class="journal-actions">
<!-- TODO -->
</span>
<a href="#note-<%= journal.indice %>" class="journal-link"><%= indice %></a>
</div>
<h4 class="note-header">
<%= avatar(journal.user) %>
<%= authoring journal.created_on, journal.user, label: :label_updated_time_by %>
</h4>
<%= journal.notes%>
<% if journal.details.any? %>
<ul class="details">
<% details_to_strings(journal.visible_details).each do |string| %>
<li><%= string %></li>
<% end %>
</ul>
<% end %>
</div>
</div>
<% end %>