fixes #756 - hide table header

This commit is contained in:
albert
2013-03-05 20:38:30 -05:00
parent 0c367d5338
commit 65d366e71f

View File

@@ -9,7 +9,9 @@
<th width="5%">Post</th>
<th width="5%">Note</th>
<th width="50%">Body</th>
<th width="10%">IP Address</th>
<% if CurrentUser.is_janitor? %>
<th width="10%">IP Address</th>
<% end %>
<th width="10%">Edited By</th>
<th width="10%">Date</th>
<th width="10%">Options</th>
@@ -22,11 +24,11 @@
<td><%= link_to note_version.post_id, post_path(note_version.post_id) %></td>
<td><%= link_to "#{note_version.note_id}.#{note_version.id}", 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>
<% if CurrentUser.is_janitor? %>
<% if CurrentUser.is_janitor? %>
<td>
<%= note_version.updater_ip_addr %>
<% end %>
</td>
</td>
<% end %>
<td><%= link_to note_version.updater.try(:name), user_path(note_version.updater) %></td>
<td><%= compact_time note_version.updated_at %></td>
<td>