2007-08-12 17:57:29 +04:00
|
|
|
<% note_id = journals.length %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% for journal in journals %>
|
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>
|
2007-08-12 17:57:29 +04:00
|
|
|
<%= textilizable(journal.notes) unless journal.notes.blank? %>
|
|
|
|
<% note_id -= 1 %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|