@capillarytech/creatives-library 7.12.8 → 7.12.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -94,32 +94,33 @@ export function SlideBoxHeader(props) {
|
|
|
94
94
|
/>
|
|
95
95
|
)}
|
|
96
96
|
{!showTemplateNameHeader && slidBoxContent === 'editTemplate' && (
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
<CapHeader
|
|
98
|
+
title={<FormattedMessage {...headerMessage} values={{ channel: getChannelLabel(channel) }} />}
|
|
99
|
+
description={
|
|
100
100
|
<>
|
|
101
101
|
{showTemplateName && (
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
<>
|
|
103
|
+
{renderWhatsappData("label1", <FormattedMessage {...globalMessages.templateNameLabel} />)}
|
|
104
|
+
{renderWhatsappData("label2", templateName)}
|
|
105
|
+
</>
|
|
106
|
+
)}
|
|
107
107
|
{isWhatsappEdit && (
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
108
|
+
<>
|
|
109
|
+
{renderWhatsappData("label3", <FormattedMessage {...whatsppMsg.labelSeperator} />)}
|
|
110
|
+
{renderWhatsappData("label1", <FormattedMessage {...whatsppMsg.templateCategoryLabel} />)}
|
|
111
|
+
{renderWhatsappData("label2", formatString(whatsappCategory))}
|
|
112
|
+
{renderWhatsappData("label3", <FormattedMessage {...whatsppMsg.labelSeperator} />)}
|
|
113
|
+
{renderWhatsappData("label1", <FormattedMessage {...whatsppMsg.languageLabel} />)}
|
|
114
|
+
{renderWhatsappData("label2", LANGUAGE_OPTIONS?.find(option => option.value === whatsappLanguageCode)?.label)}
|
|
115
|
+
</>)
|
|
116
|
+
}
|
|
117
|
+
</>
|
|
118
|
+
}
|
|
119
|
+
prefix={creativesMode !== 'edit' && !isFullMode && showPrefix &&
|
|
120
|
+
<PrefixWrapper>
|
|
121
|
+
<CapIcons.backIcon onClick={onShowTemplates} />
|
|
122
|
+
</PrefixWrapper>
|
|
117
123
|
}
|
|
118
|
-
prefix={creativesMode !== 'edit' && !isFullMode && showPrefix &&
|
|
119
|
-
<PrefixWrapper>
|
|
120
|
-
<CapIcons.backIcon onClick={onShowTemplates} />
|
|
121
|
-
</PrefixWrapper>
|
|
122
|
-
}
|
|
123
124
|
/>
|
|
124
125
|
)}
|
|
125
126
|
{!showTemplateNameHeader && slidBoxContent === 'createTemplate' && ( templateStep === 'modeSelection' || (templateStep === "createTemplateContent" && weChatTemplateType !== MAP_TEMPLATE) ) && (
|