fixes #1139, fix other history page inconsistencies

This commit is contained in:
Toks
2013-04-05 16:24:08 -04:00
parent 314dee2d84
commit 3648db0928
5 changed files with 40 additions and 24 deletions

View File

@@ -10,8 +10,10 @@
<% if CurrentUser.is_admin? %>
<th width="10%">IP Address</th>
<% end %>
<th width="45%">Tags</th>
<th width="5%"></th>
<th>Tags</th>
<% if CurrentUser.is_member? %>
<th width="5%"></th>
<% end %>
</tr>
</thead>
<tbody>
@@ -32,9 +34,11 @@
</td>
<% end %>
<td><%= post_version_diff(post_version) %></td>
<td>
<%= link_to "Revert", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>
</td>
<% if CurrentUser.is_member? %>
<td>
<%= link_to "Revert", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>
</td>
<% end %>
</tr>
<% end %>
</tbody>