From 56bc084e60bb03943e0f792319899c11996ffb66 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 16 Mar 2016 12:28:37 +0000 Subject: [PATCH] Made interface more compact --- RIGS/templates/RIGS/version_changes.html | 12 +++++------- RIGS/templates/RIGS/version_changes_change.html | 7 +++---- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/RIGS/templates/RIGS/version_changes.html b/RIGS/templates/RIGS/version_changes.html index 9fd57020..ca4e1569 100644 --- a/RIGS/templates/RIGS/version_changes.html +++ b/RIGS/templates/RIGS/version_changes.html @@ -8,16 +8,14 @@ {% for itemChange in version.item_changes %} {% endfor %} \ No newline at end of file diff --git a/RIGS/templates/RIGS/version_changes_change.html b/RIGS/templates/RIGS/version_changes_change.html index 19411a36..c2d98541 100644 --- a/RIGS/templates/RIGS/version_changes_change.html +++ b/RIGS/templates/RIGS/version_changes_change.html @@ -1,5 +1,4 @@ {# pass in variable "change" to this template #} - {% if change.linebreaks and change.new and change.old %} {% for diff in change.diff %} {% if diff.type == "insert" %} @@ -10,18 +9,18 @@ {{diff.text|linebreaksbr}} {% endif %} {% endfor %} -{% else %} + {% else %} {% if change.old %} {{change.old}} {% endif %} {% if change.new and change.old %} -
+
{% endif %} {% if change.new %} {{change.new}} {% endif %} -{% endif %} \ No newline at end of file +{% endif %}