artist versions: rearrange layout to better fit small screens.

* Move group name beneath the artist name.
* Replace 'Active' column with '(deleted)' notice next to artist name.
* Combine updater, updated at, and ip address fields in single column.
* Combine templates for standard listing and revert listing (only
  difference is presense of 'Revert to' column).
This commit is contained in:
evazion
2018-12-09 00:01:26 -06:00
parent c75aef38ed
commit 61f6de5ff3
4 changed files with 35 additions and 84 deletions

View File

@@ -2,12 +2,7 @@
<div id="a-index">
<h1>Artist History</h1>
<% if params.dig(:search, :artist_id).present? %>
<%= render "revert_listing" %>
<% else %>
<%= render "standard_listing" %>
<% end %>
<%= render "standard_listing" %>
<%= numbered_paginator(@artist_versions, :search_count => params[:search]) %>
</div>
</div>