Fixed History items.

This commit is contained in:
Martin Mahner 2018-04-05 21:16:51 +02:00
parent 8598343e98
commit 3c295c344a

View file

@ -41,11 +41,7 @@
{% blocktrans with snippet.published|timesince as since %}Created {{ since }} ago{% endblocktrans %} {% blocktrans with snippet.published|timesince as since %}Created {{ since }} ago{% endblocktrans %}
</h3> </h3>
{% if snippet.lexer == '_text' %} {{ snippet.highlight }}
<div class="snippet-text">{% include "dpaste/highlight/text.html" %}</div>
{% else %}
<div class="snippet-code">{% include "dpaste/highlight/code.html" %}</div>
{% endif %}
{% empty %} {% empty %}
<p class="history-empty"> <p class="history-empty">