mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
don't allow voting here
This commit is contained in:
parent
e7b64554c1
commit
7780580097
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@
|
|||
{% if post_replies %}<h3 class="mt-4" id="comments">Posts</h3>{% endif %}
|
||||
<div class="post_list">
|
||||
{% for post in posts.items %}
|
||||
{% include 'post/_post_teaser.html' %}
|
||||
{% with disable_voting=True %}
|
||||
{% include 'post/_post_teaser.html' %}
|
||||
{% endwith %}
|
||||
{% else %}
|
||||
<p>{{ _('No posts.') }}</p>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue