mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
15 lines
1.3 KiB
HTML
15 lines
1.3 KiB
HTML
<li><a href="{{ url_for('chat.chat_delete', conversation_id=conversation.id) }}" class="dropdown-item no-underline confirm_first" rel="nofollow"><span class="fe fe-delete"></span>
|
|
{{ _('Delete conversation') }}</a></li>
|
|
{% for member in conversation.members %}
|
|
{% if member.id != current_user.id %}
|
|
<li><a href="{{ url_for('user.block_profile', actor=member.link()) }}" class="dropdown-item no-underline text-wrap"><span class="fe fe-block"></span>
|
|
{{ _('Block @%(author_name)s', author_name=member.display_name()) }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% for instance in conversation.instances() %}
|
|
<li><a href="{{ url_for('chat.block_instance', instance_id=instance.id) }}" class="dropdown-item no-underline text-wrap"><span class="fe fe-block"></span>
|
|
{{ _("Block chats and posts from instance: %(name)s", name=instance.domain) }}</a></li>
|
|
{% endfor %}
|
|
<li><a href="{{ url_for('chat.chat_report', conversation_id=conversation.id) }}" class="dropdown-item no-underline text-wrap" rel="nofollow"><span class="fe fe-report"></span>
|
|
{{ _('Report to moderators') }}</a></li>
|
|
<p class="p-2" style="max-width: 200px;">{{ _('If you are reporting abuse then do not delete the conversation - moderators will not be able to read it if you delete it.') }}</p>
|