artists: don't show unchanged URLs in artist history.

Only show changed URLs in the artist history, not unchanged URLs. Makes
the edit history more compact and easier to read by showing only the
things that changed on every edit.
This commit is contained in:
evazion
2022-01-19 23:24:20 -06:00
parent b9d4be16c8
commit 00f4fbe2d1
3 changed files with 13 additions and 11 deletions

View File

@@ -15,7 +15,9 @@
<% end %>
<% end %>
<% diff.unchanged.each do |item| %>
<%= tag.li item, class: ["unchanged", *li_class] %>
<% if show_unchanged %>
<% diff.unchanged.each do |item| %>
<%= tag.li item, class: ["unchanged", *li_class] %>
<% end %>
<% end %>
<% end %>