Clean up note views

* Make note deleted notice stand out more
* Use same note deleted notice on both note views
* Don't render notes as dtext
This commit is contained in:
Toks
2013-07-18 12:51:10 -04:00
parent d58721587e
commit ab0b935715
4 changed files with 16 additions and 8 deletions

View File

@@ -25,7 +25,12 @@
<td></td>
<td><%= link_to note_version.post_id, post_path(note_version.post_id) %></td>
<td><%= link_to "#{note_version.note_id}.#{note_version.version}", note_versions_path(:search => {:note_id => note_version.note_id}) %></td>
<td><%= h(note_version.body) %> <% unless note_version.is_active? %>(deleted)<% end %></td>
<td>
<%= h(note_version.body) %>
<% unless note_version.is_active? %>
<span class="inactive">(deleted)</span>
<% end %>
</td>
<% if CurrentUser.is_janitor? %>
<td>
<%= note_version.updater_ip_addr %>