From 67d5b9668c69adf312ffcbd814e759292a6efe47 Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Mon, 21 Aug 2023 15:44:40 +0100 Subject: [PATCH] add message template meta data and option to select email template --- CRM/Core/DAO/MessageTemplate.php | 7 +++++++ ext/afform/admin/ang/afGuiEditor/config-form.html | 11 ++++------- xml/schema/Core/MessageTemplate.xml | 3 +++ 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/CRM/Core/DAO/MessageTemplate.php b/CRM/Core/DAO/MessageTemplate.php index fd7f5cafd2..74a8c01112 100644 --- a/CRM/Core/DAO/MessageTemplate.php +++ b/CRM/Core/DAO/MessageTemplate.php @@ -23,6 +23,13 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO { */ public static $_tableName = 'civicrm_msg_template'; + /** + * Icon associated with this entity. + * + * @var string + */ + public static $_icon = 'fa-newspaper-o'; + /** * Field to show when displaying a record. * diff --git a/ext/afform/admin/ang/afGuiEditor/config-form.html b/ext/afform/admin/ang/afGuiEditor/config-form.html index 126841257b..2b5215f184 100644 --- a/ext/afform/admin/ang/afGuiEditor/config-form.html +++ b/ext/afform/admin/ang/afGuiEditor/config-form.html @@ -110,17 +110,10 @@ {{:: ts('Submissions') }} -<<<<<<< HEAD

-

{{:: ts('The data will be processed and stored in CiviCRM after email verfication. Email field is required if you enable this setting.') }}

+
+ + +
diff --git a/xml/schema/Core/MessageTemplate.xml b/xml/schema/Core/MessageTemplate.xml index ea6a8842ea..384f46a8a9 100644 --- a/xml/schema/Core/MessageTemplate.xml +++ b/xml/schema/Core/MessageTemplate.xml @@ -6,6 +6,9 @@ civicrm_msg_template Users will need a way to save and retrieve templates with tokens for use in recurring email communication tasks 1.6 + Message Template + Message Templates + fa-newspaper-o msg_title civicrm/admin/messageTemplates/add?action=add&reset=1 -- 2.25.1