Rework post version view

- Added a changes column explicitly listing all of the changes
-- This makes it more in line with the other views now
This commit is contained in:
BrokenEagle
2020-02-08 08:57:26 +00:00
parent 7b1efd1204
commit 8ff00cfc7d
5 changed files with 18 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
<div id="c-post-versions">
<div id="a-index">
<% if post_versions_listing_type == :revert && @post_versions.present? %>
<% if listing_type(:post_id) == :revert && @post_versions.present? %>
<h1>Tag History: <%= link_to "Post ##{params.dig(:search, :post_id)}", @post_versions[0].post %></h1>
<% else %>
<h1>Tag History</h1>