2024-12-21 22:04:13 +07:00
< 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 >
2024-12-20 00:44:49 +07:00
{{ _('Delete conversation') }}< / a > < / li >
{% for member in conversation.members %}
{% if member.id != current_user.id %}
2025-01-19 14:59:47 +13:00
< li > < a href = "{{ url_for('user.block_profile', actor=member.link()) }}" class = "dropdown-item no-underline text-wrap" > < span class = "fe fe-block" > < / span >
2024-12-20 00:44:49 +07:00
{{ _('Block @%(author_name)s', author_name=member.display_name()) }}< / a > < / li >
{% endif %}
{% endfor %}
{% for instance in conversation.instances() %}
2025-01-19 14:59:47 +13:00
< 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 >
2024-12-20 00:44:49 +07:00
{{ _("Block chats and posts from instance: %(name)s", name=instance.domain) }}< / a > < / li >
{% endfor %}
2025-01-19 14:59:47 +13:00
< 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 >
2024-12-20 00:44:49 +07:00
{{ _('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 >