- <td><%= link_to note.id.to_s, :controller => "browse", :action => "note", :id => note.id %></td>
- <% if note.author.nil? %>
- <td> <%= note.author_name %> </td>
- <% else %>
- <td><%= link_to h(note.author_name), :controller => "user", :action => "view", :display_name => note.author_name %></td>
- <% end %>
- <td> <%= note.comments.first.body.to_html %> </td>
- <td><%= l note.created_at %></td>
- <td><%= l note.updated_at %></td>
+ <td><%= link_to note.id, browse_note_path(note) %></td>
+ <td><%= note_author(note.author) %></td>
+ <td><%= note.comments.first.body.to_html %></td>
+ <td><%= friendly_date_ago(note.created_at) %></td>
+ <td><%= friendly_date_ago(note.updated_at) %></td>