diff --git a/var/www/templates/objects/item/show_item.html b/var/www/templates/objects/item/show_item.html index 26ae694f..979d6a00 100644 --- a/var/www/templates/objects/item/show_item.html +++ b/var/www/templates/objects/item/show_item.html @@ -34,6 +34,9 @@ -webkit-transform:rotate(180deg); transform:rotate(180deg); } + .text_wrap{ + white-space: pre-wrap; + } @@ -255,78 +258,78 @@ {% endif %} - {% if meta['duplicates'] %} -
Date | -Similarity | -Item | -Diff | -||
---|---|---|---|---|---|
{{meta['duplicates'][duplicate_id]['date']}} | -
-
|
- - - {{duplicate_id}} - - | -- - | -
Date | #} +{#Similarity | #} +{#Item | #} +{#Diff | #} +{#||
---|---|---|---|---|---|
{{meta['duplicates'][duplicate_id]['date']}} | #} +{##}
+{#
| #}
+{# #} +{# #} +{# {{duplicate_id}}#} +{# #} +{# | #} +{##} +{# #} +{# | #} +{#
{{ meta['content'] }}+
{{ meta['content'] }}{% else %} -
{{ meta['content'][:extracted[0][0]] }}{% for row in extracted %}{{ meta['content'][row[0]:row[1]] }}{% if loop.index + 1 > extracted|length %}{{ meta['content'][extracted[-1][1]:] }}{% else %}{{ meta['content'][row[1]:extracted[loop.index][0]] }}{% endif %}{% endfor %}
+
{{ meta['content'][:extracted[0][0]] }}{% for row in extracted %}{{ meta['content'][row[0]:row[1]] }}{% if loop.index + 1 > extracted|length %}{{ meta['content'][extracted[-1][1]:] }}{% else %}{{ meta['content'][row[1]:extracted[loop.index][0]] }}{% endif %}{% endfor %}
{% endif %}
+