From 2c8a3ef3b2afc9494d2ee86771e7065acf28e239 Mon Sep 17 00:00:00 2001 From: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com> Date: Fri, 25 Feb 2022 16:36:10 +0530 Subject: [PATCH] fix: Message signature going with other channels message (#4024) Co-authored-by: Pranav Raj S --- .../widgets/WootWriter/ReplyBottomPanel.vue | 2 +- .../widgets/conversation/ReplyBox.vue | 34 ++++++++++++++++--- .../i18n/locale/en/conversation.json | 4 ++- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/WootWriter/ReplyBottomPanel.vue b/app/javascript/dashboard/components/widgets/WootWriter/ReplyBottomPanel.vue index 5bbd913a9..6df1b2858 100644 --- a/app/javascript/dashboard/components/widgets/WootWriter/ReplyBottomPanel.vue +++ b/app/javascript/dashboard/components/widgets/WootWriter/ReplyBottomPanel.vue @@ -110,7 +110,7 @@ import { ALLOWED_FILE_TYPES } from 'shared/constants/messages'; import { REPLY_EDITOR_MODES } from './constants'; export default { - name: 'ReplyTopPanel', + name: 'ReplyBottomPanel', components: { FileUpload }, mixins: [eventListenerMixins, uiSettingsMixin, inboxMixin], props: { diff --git a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue index e31e51fb3..5f17b5114 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue @@ -67,11 +67,21 @@ />
-

+

+

+ {{ $t('CONVERSATION.FOOTER.MESSAGE_SIGNATURE_NOT_CONFIGURED') }} + + {{ $t('CONVERSATION.FOOTER.CLICK_HERE') }} + +

diff --git a/app/javascript/dashboard/i18n/locale/en/conversation.json b/app/javascript/dashboard/i18n/locale/en/conversation.json index 2293704d8..96ba4b429 100644 --- a/app/javascript/dashboard/i18n/locale/en/conversation.json +++ b/app/javascript/dashboard/i18n/locale/en/conversation.json @@ -61,7 +61,9 @@ "ENABLE_SIGN_TOOLTIP": "Enable signature", "DISABLE_SIGN_TOOLTIP": "Disable signature", "MSG_INPUT": "Shift + enter for new line. Start with '/' to select a Canned Response.", - "PRIVATE_MSG_INPUT": "Shift + enter for new line. This will be visible only to Agents" + "PRIVATE_MSG_INPUT": "Shift + enter for new line. This will be visible only to Agents", + "MESSAGE_SIGNATURE_NOT_CONFIGURED": "Message signature is not configured, please configure it in profile settings.", + "CLICK_HERE": "Click here to update" }, "REPLYBOX": { "REPLY": "Reply",