2007-08-14 13:02:40 +04:00
|
|
|
<% note_id = 1 %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% for journal in journals %>
|
2008-02-16 16:19:33 +03:00
|
|
|
<div id="change-<%= journal.id %>">
|
2007-08-12 17:57:29 +04:00
|
|
|
<h4><div style="float:right;"><%= link_to "##{note_id}", :anchor => "note-#{note_id}" %></div>
|
|
|
|
<%= content_tag('a', '', :name => "note-#{note_id}")%>
|
|
|
|
<%= format_time(journal.created_on) %> - <%= journal.user.name %></h4>
|
2007-03-12 20:59:02 +03:00
|
|
|
<ul>
|
|
|
|
<% for detail in journal.details %>
|
|
|
|
<li><%= show_detail(detail) %></li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
2008-02-02 13:50:31 +03:00
|
|
|
<%= render_notes(journal) unless journal.notes.blank? %>
|
2008-02-16 16:19:33 +03:00
|
|
|
</div>
|
2007-08-14 13:02:40 +04:00
|
|
|
<% note_id += 1 %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|