|
<%= link_to note.post_id, :controller => "post", :action => "show", :id => note.post_id %> |
<%= link_to "#{note.note_id}.#{note.version}", :controller => "note", :action => "history", :id => note.note_id %> |
<%= h(note.body) %> <% unless note.is_active? %>(deleted)<% end %> |
<% if @current_user.is_admin? %>
<%= note.ip_addr %>
<% end %>
|
<%= link_to h(note.author), :controller => "user", :action => "show", :id => note.user_id %> |
<%= note.updated_at.strftime("%Y-%m-%d %H:%M") %> |
<%= link_to "Revert", {:controller => "note", :action => "revert", :id => note.note_id, :version => note.version}, :method => :post, :confirm => "Do you really wish to revert to this note?" %> |
<% end %>