mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
Fixed History items.
This commit is contained in:
parent
8598343e98
commit
3c295c344a
1 changed files with 1 additions and 5 deletions
|
@ -41,11 +41,7 @@
|
|||
{% blocktrans with snippet.published|timesince as since %}Created {{ since }} ago{% endblocktrans %}
|
||||
</h3>
|
||||
|
||||
{% if snippet.lexer == '_text' %}
|
||||
<div class="snippet-text">{% include "dpaste/highlight/text.html" %}</div>
|
||||
{% else %}
|
||||
<div class="snippet-code">{% include "dpaste/highlight/code.html" %}</div>
|
||||
{% endif %}
|
||||
{{ snippet.highlight }}
|
||||
|
||||
{% empty %}
|
||||
<p class="history-empty">
|
||||
|
|
Loading…
Reference in a new issue