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>
|
<h2 class="mt-4" id="comments">Deleted comments</h2>
|
||||||
<div class="post_list">
|
<div class="post_list">
|
||||||
{% for post_reply in post_replies.items %}
|
{% for post_reply in post_replies.items %}
|
||||||
|
{% with teaser=True, disable_voting=True, no_collapse=True %}
|
||||||
{% include 'post/_post_reply_teaser.html' %}
|
{% include 'post/_post_reply_teaser.html' %}
|
||||||
|
{% endwith %}
|
||||||
|
<hr />
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>{{ _('No deleted comments.') }}</p>
|
<p>{{ _('No deleted comments.') }}</p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -19,7 +19,10 @@
|
||||||
<h2 class="mt-4" id="comments">Downvoted comments</h2>
|
<h2 class="mt-4" id="comments">Downvoted comments</h2>
|
||||||
<div class="post_list">
|
<div class="post_list">
|
||||||
{% for post_reply in post_replies.items %}
|
{% for post_reply in post_replies.items %}
|
||||||
|
{% with teaser=True, disable_voting=True, no_collapse=True %}
|
||||||
{% include 'post/_post_reply_teaser.html' %}
|
{% include 'post/_post_reply_teaser.html' %}
|
||||||
|
{% endwith %}
|
||||||
|
<hr />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
|
@ -20,7 +20,10 @@
|
||||||
|
|
||||||
<div class="post_list">
|
<div class="post_list">
|
||||||
{% for post_reply in post_replies.items %}
|
{% for post_reply in post_replies.items %}
|
||||||
|
{% with teaser=True %}
|
||||||
{% include 'post/_post_reply_teaser.html' %}
|
{% include 'post/_post_reply_teaser.html' %}
|
||||||
|
{% endwith %}
|
||||||
|
<hr />
|
||||||
{% else -%}
|
{% else -%}
|
||||||
<p>{{ _('No comments have been bookmarked. Use the three dots on each comment to find the bookmark function.') }}</p>
|
<p>{{ _('No comments have been bookmarked. Use the three dots on each comment to find the bookmark function.') }}</p>
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
|
|
@ -122,7 +122,10 @@
|
||||||
<h2 class="mt-4" id="comments">Comments</h2>
|
<h2 class="mt-4" id="comments">Comments</h2>
|
||||||
<div class="post_list">
|
<div class="post_list">
|
||||||
{% for post_reply in post_replies.items %}
|
{% for post_reply in post_replies.items %}
|
||||||
|
{% with teaser=True, disable_voting=True %}
|
||||||
{% include 'post/_post_reply_teaser.html' %}
|
{% include 'post/_post_reply_teaser.html' %}
|
||||||
|
{% endwith %}
|
||||||
|
<hr />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<nav aria-label="{{ _('Comment pagination') }}" class="mt-4" role="navigation">
|
<nav aria-label="{{ _('Comment pagination') }}" class="mt-4" role="navigation">
|
||||||
|
|
Loading…
Add table
Reference in a new issue