This commit is contained in:
rimu 2025-01-19 14:59:47 +13:00
parent 22b8ed6782
commit bdbbf1b847

View file

@ -2,14 +2,14 @@
{{ _('Delete conversation') }}</a></li> {{ _('Delete conversation') }}</a></li>
{% for member in conversation.members %} {% for member in conversation.members %}
{% if member.id != current_user.id %} {% if member.id != current_user.id %}
<li><a href="{{ url_for('user.block_profile', actor=member.link()) }}" class="dropdown-item no-underline"><span class="fe fe-block"></span> <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> {{ _('Block @%(author_name)s', author_name=member.display_name()) }}</a></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% for instance in conversation.instances() %} {% for instance in conversation.instances() %}
<li><a href="{{ url_for('chat.block_instance', instance_id=instance.id) }}" class="dropdown-item no-underline"><span class="fe fe-block"></span> <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> {{ _("Block chats and posts from instance: %(name)s", name=instance.domain) }}</a></li>
{% endfor %} {% endfor %}
<li><a href="{{ url_for('chat.chat_report', conversation_id=conversation.id) }}" class="dropdown-item no-underline" rel="nofollow"><span class="fe fe-report"></span> <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> {{ _('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> <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>