mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
fix add_reply
This commit is contained in:
parent
e78dd304be
commit
8c9f91467b
1 changed files with 3 additions and 3 deletions
|
@ -83,13 +83,13 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
{% if is_moderator or is_owner or is_admin %}
|
{% if is_moderator or is_owner or is_admin %}
|
||||||
<p><a href="/community/{{ community.link() }}/moderate" class="btn btn-primary">{{ _('Moderate') }}</a></p>
|
<p><a href="/community/{{ post.community.link() }}/moderate" class="btn btn-primary">{{ _('Moderate') }}</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if is_owner or is_admin %}
|
{% if is_owner or is_admin %}
|
||||||
<p><a href="{{ url_for('community.community_edit', community_id=community.id) }}" class="btn btn-primary">{{ _('Settings') }}</a></p>
|
<p><a href="{{ url_for('community.community_edit', community_id=community.id) }}" class="btn btn-primary">{{ _('Settings') }}</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if community.is_local() and (community.is_owner() or current_user.is_admin()) %}
|
{% if post.community.is_local() and (post.community.is_owner() or current_user.is_admin()) %}
|
||||||
<p><a class="btn btn-primary btn-warning" href="{{ url_for('community.community_delete', community_id=community.id) }}" rel="nofollow">Delete community</a></p>
|
<p><a class="btn btn-primary btn-warning" href="{{ url_for('community.community_delete', community_id=post.community.id) }}" rel="nofollow">Delete community</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue