1 <% content_for :heading do %>
2 <h2><%= @heading %></h2>
3 <p><%= raw @description %></p>
6 <%= render :partial => 'notes_paging_nav' %>
8 <table class="note_list">
11 <th><%= t'note.mine.id' %></th>
12 <th><%= t'note.mine.creator' %></th>
13 <th><%= t'note.mine.description' %></th>
14 <th><%= t'note.mine.created_at' %></th>
15 <th><%= t'note.mine.last_changed' %></th>
17 <% @notes.each do |note| -%>
18 <tr<% if note.author != @user2 %> class="creator"<% end %>>
20 <% if note.status == "closed" %>
21 <%= image_tag("closed_note_marker.png", :alt => 'closed') %>
23 <%= image_tag("open_note_marker.png", :alt => 'open') %>
26 <td><%= link_to note.id.to_s, :controller => "browse", :action => "note", :id => note.id %></td>
27 <td><%= note_author(note.author) %></td>
28 <td><%= note.comments.first.body.to_html %></td>
29 <td><%= friendly_date(note.created_at) %></td>
30 <td><%= friendly_date(note.updated_at) %></td>
35 <%= render :partial => 'notes_paging_nav' %>