From 5ce0653292c00fd7b173efc8b0bebf03bb72d1e9 Mon Sep 17 00:00:00 2001 From: hono4kami Date: Sat, 21 Dec 2024 22:04:13 +0700 Subject: [PATCH] feat: improve options --- app/templates/chat/chat_options.html | 8 ++--- app/templates/chat/conversation.html | 2 +- app/templates/post/_post_full.html | 2 +- app/templates/post/_post_reply_teaser.html | 2 +- app/templates/post/post_options.html | 34 +++++++++---------- app/templates/post/post_reply_options.html | 20 +++++------ .../post/post_teaser/_utilities_bar.html | 16 +++++++-- 7 files changed, 48 insertions(+), 36 deletions(-) diff --git a/app/templates/chat/chat_options.html b/app/templates/chat/chat_options.html index 5e0e8c33..ab773be7 100644 --- a/app/templates/chat/chat_options.html +++ b/app/templates/chat/chat_options.html @@ -1,15 +1,15 @@ -
  • {{ _('Delete conversation') }}
  • {% for member in conversation.members %} {% if member.id != current_user.id %} -
  • {{ _('Block @%(author_name)s', author_name=member.display_name()) }}
  • {% endif %} {% endfor %} {% for instance in conversation.instances() %} -
  • {{ _("Block chats and posts from instance: %(name)s", name=instance.domain) }}
  • {% endfor %} -
  • {{ _('Report to moderators') }}
  • {{ _('If you are reporting abuse then do not delete the conversation - moderators will not be able to read it if you delete it.') }}

    diff --git a/app/templates/chat/conversation.html b/app/templates/chat/conversation.html index f13f59c4..2e4337a0 100644 --- a/app/templates/chat/conversation.html +++ b/app/templates/chat/conversation.html @@ -80,7 +80,7 @@ class="btn btn-outline-secondary"> {{ _('Options') }} -