1 <% content_for :heading do %>
2 <h2><%= t "notes.mine.heading", :user => @user.display_name %></h2>
3 <p><%= t "notes.mine.subheading_html", :user => link_to(@user.display_name, user_path(@user)) %></p>
6 <%= render :partial => "notes_paging_nav" %>
8 <table class="note_list">
11 <th><%= t ".id" %></th>
12 <th><%= t ".creator" %></th>
13 <th><%= t ".description" %></th>
14 <th><%= t ".created_at" %></th>
15 <th><%= t ".last_changed" %></th>
17 <% @notes.each do |note| -%>
18 <tr<% if note.author == @user %> class="creator"<% end %>>
21 <%= image_tag("closed_note_marker.png", :alt => "closed", :size => "25x40") %>
23 <%= image_tag("open_note_marker.png", :alt => "open", :size => "25x40") %>
26 <td><%= link_to note.id, browse_note_path(note) %></td>
27 <td><%= note_author(note.author) %></td>
28 <td><%= note.comments.first.body.to_html %></td>
29 <td><%= t ".ago_html", :when => friendly_date(note.created_at) %></td>
30 <td><%= t ".ago_html", :when => friendly_date(note.updated_at) %></td>
35 <%= render :partial => "notes_paging_nav" %>