From 3cb15ff676ca6773b5c2b009f624c5890fbb1139 Mon Sep 17 00:00:00 2001 From: Sheldan <5037282+Sheldan@users.noreply.github.com> Date: Thu, 14 Nov 2024 00:00:36 +0100 Subject: [PATCH] [AB-xxx] showing in modmail notification and header if a thread is an appeal --- .../modmail_notification_message_embed_en_US.ftl | 3 ++- ...il_notification_message_description_appeal_suffix_en_US.ftl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 translations/modmail/src/main/resources/en_US/notification/modmail_notification_message_description_appeal_suffix_en_US.ftl diff --git a/abstracto-modules/modmail/src/main/resources/en_US/listener/messageReceived/modmail_notification_message_embed_en_US.ftl b/abstracto-modules/modmail/src/main/resources/en_US/listener/messageReceived/modmail_notification_message_embed_en_US.ftl index 2a4f3d36..98613cf0 100644 --- a/abstracto-modules/modmail/src/main/resources/en_US/listener/messageReceived/modmail_notification_message_embed_en_US.ftl +++ b/abstracto-modules/modmail/src/main/resources/en_US/listener/messageReceived/modmail_notification_message_embed_en_US.ftl @@ -7,7 +7,8 @@ }, <#include "modmail_color">, <#assign user><@user_detail user=userDisplay/> - "description": "<@safe_include "modmail_notification_message_description"/>" + <#assign appeal=appeal> + "description": "<@safe_include "modmail_notification_message_description"/><#if appeal> <@safe_include "modmail_notification_message_description_appeal_suffix"/>" <#if channel?has_content>, "fields": [ { diff --git a/translations/modmail/src/main/resources/en_US/notification/modmail_notification_message_description_appeal_suffix_en_US.ftl b/translations/modmail/src/main/resources/en_US/notification/modmail_notification_message_description_appeal_suffix_en_US.ftl new file mode 100644 index 00000000..3b378a31 --- /dev/null +++ b/translations/modmail/src/main/resources/en_US/notification/modmail_notification_message_description_appeal_suffix_en_US.ftl @@ -0,0 +1 @@ +It is an appeal. \ No newline at end of file