Only create history entries for revisions with text or ring changes

This commit is contained in:
Tom Raithel
2017-01-26 08:22:05 +01:00
parent 77823f8834
commit 748a005778
3 changed files with 26 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ block content
hr
h4= item.revisions[0].version
h5 New: #{item.isNew ? 'YES' : 'NO'}
h5 Feature: #{item.attributes.isFeatured ? 'YES' : 'NO'}
@@ -24,5 +24,8 @@ block content
each revision, index in item.revisions
if index > 0
li
= revision.version
h3
= revision.version
= ' '
= revision.attributes.ring
!= revision.body