depot/web/quotes/templates/quotedb/_quote.html

9 lines
426 B
HTML
Raw Normal View History

2021-01-20 22:20:07 +00:00
<div>
2021-01-21 00:49:22 +00:00
<p><a href="/{{ quote.id }}/">#{{ quote.id }}</a></p>
<p class="whitespace-pre-wrap font-mono">{{ quote.quote }}</p>
<p class="text-sm">added by <span class="font-mono">{{ quote.added_by.username }}</span> on <span class="font-mono">{{ quote.added_at }}</span></p>
{% if request.user == quote.added_by %}
<a href="/{{ quote.id }}/delete/" class="text-sm underline">del</a>
{% endif %}
2021-01-20 22:20:07 +00:00
</div>