1 <% content_for :heading do %>
 
   2   <h1><%= t ".heading", :user => @user.display_name %></h1>
 
   3   <p><%= t ".subheading_html", :user => link_to(@user.display_name, user_path(@user)) %></p>
 
   7   <h4><%= t ".no_notes" %></h4>
 
  10   <%= render :partial => "notes_paging_nav" %>
 
  12   <table class="table table-sm note_list">
 
  16         <th><%= t ".id" %></th>
 
  17         <th><%= t ".creator" %></th>
 
  18         <th><%= t ".description" %></th>
 
  19         <th><%= t ".created_at" %></th>
 
  20         <th><%= t ".last_changed" %></th>
 
  23   <% @notes.each do |note| -%>
 
  24     <tr<% if note.author == @user %> class="creator"<% end %>>
 
  27           <%= image_tag("closed_note_marker.png", :alt => "closed", :size => "25x40") %>
 
  29           <%= image_tag("open_note_marker.png", :alt => "open", :size => "25x40") %>
 
  32       <td><%= link_to note.id, note %></td>
 
  33       <td><%= note_author(note.author) %></td>
 
  34       <td><%= note.comments.first.body.to_html %></td>
 
  35       <td><%= friendly_date_ago(note.created_at) %></td>
 
  36       <td><%= friendly_date_ago(note.updated_at) %></td>
 
  41   <%= render :partial => "notes_paging_nav" %>