mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
use new comment teaser template
This commit is contained in:
parent
ef5572260a
commit
563bf2a31d
4 changed files with 18 additions and 6 deletions
|
@ -21,7 +21,10 @@
|
|||
<h2 class="mt-4" id="comments">Deleted comments</h2>
|
||||
<div class="post_list">
|
||||
{% for post_reply in post_replies.items %}
|
||||
{% include 'post/_post_reply_teaser.html' %}
|
||||
{% with teaser=True, disable_voting=True, no_collapse=True %}
|
||||
{% include 'post/_post_reply_teaser.html' %}
|
||||
{% endwith %}
|
||||
<hr />
|
||||
{% else %}
|
||||
<p>{{ _('No deleted comments.') }}</p>
|
||||
{% endfor %}
|
||||
|
@ -38,4 +41,4 @@
|
|||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -19,7 +19,10 @@
|
|||
<h2 class="mt-4" id="comments">Downvoted comments</h2>
|
||||
<div class="post_list">
|
||||
{% for post_reply in post_replies.items %}
|
||||
{% include 'post/_post_reply_teaser.html' %}
|
||||
{% with teaser=True, disable_voting=True, no_collapse=True %}
|
||||
{% include 'post/_post_reply_teaser.html' %}
|
||||
{% endwith %}
|
||||
<hr />
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}
|
||||
|
@ -34,4 +37,4 @@
|
|||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -20,7 +20,10 @@
|
|||
|
||||
<div class="post_list">
|
||||
{% for post_reply in post_replies.items %}
|
||||
{% include 'post/_post_reply_teaser.html' %}
|
||||
{% with teaser=True %}
|
||||
{% include 'post/_post_reply_teaser.html' %}
|
||||
{% endwith %}
|
||||
<hr />
|
||||
{% else -%}
|
||||
<p>{{ _('No comments have been bookmarked. Use the three dots on each comment to find the bookmark function.') }}</p>
|
||||
{% endfor -%}
|
||||
|
|
|
@ -122,7 +122,10 @@
|
|||
<h2 class="mt-4" id="comments">Comments</h2>
|
||||
<div class="post_list">
|
||||
{% for post_reply in post_replies.items %}
|
||||
{% include 'post/_post_reply_teaser.html' %}
|
||||
{% with teaser=True, disable_voting=True %}
|
||||
{% include 'post/_post_reply_teaser.html' %}
|
||||
{% endwith %}
|
||||
<hr />
|
||||
{% endfor %}
|
||||
</div>
|
||||
<nav aria-label="{{ _('Comment pagination') }}" class="mt-4" role="navigation">
|
||||
|
|
Loading…
Reference in a new issue