From 441b170064df0b957fd3e13a816d531e7b580599 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 3 Oct 2021 16:26:51 -0400 Subject: [PATCH] message_admin Style fixes --- .../CRM/MessageAdmin/Page/MsgtplBasePage.php | 9 +++- .../ang/crmMsgadm/AddTranslation.html | 5 +- ext/message_admin/ang/crmMsgadm/Edit.html | 30 +++++++----- .../ang/crmMsgadm/EditContent.html | 48 +++++++++++-------- .../ang/crmMsgadm/ExpandedEdit.html | 13 ++--- ext/message_admin/ang/crmMsgadm/ListNav.html | 12 ++--- ext/message_admin/ang/crmMsgadm/User.html | 16 +++---- ext/message_admin/ang/crmMsgadm/Workflow.html | 6 +-- .../ang/crmMsgadm/WorkflowTranslated.html | 16 +++---- js/Common.js | 3 ++ 10 files changed, 90 insertions(+), 68 deletions(-) diff --git a/ext/message_admin/CRM/MessageAdmin/Page/MsgtplBasePage.php b/ext/message_admin/CRM/MessageAdmin/Page/MsgtplBasePage.php index 7034a67139..32a72afe5b 100644 --- a/ext/message_admin/CRM/MessageAdmin/Page/MsgtplBasePage.php +++ b/ext/message_admin/CRM/MessageAdmin/Page/MsgtplBasePage.php @@ -14,8 +14,15 @@ class CRM_MessageAdmin_Page_MsgtplBasePage extends CRM_Core_Page { break; } - /** @var \Civi\Angular\AngularLoader $loader */ CRM_Utils_System::setTitle(ts('Message Templates')); + + $breadCrumb = [ + 'title' => E::ts('Message Templates'), + 'url' => CRM_Utils_System::url('civicrm/admin/messageTemplates', NULL, FALSE, '/user'), + ]; + CRM_Utils_System::appendBreadCrumb([$breadCrumb]); + + /** @var \Civi\Angular\AngularLoader $loader */ $loader = \Civi::service('angularjs.loader'); $loader->addModules(['crmMsgadm']); $loader->useApp(array( diff --git a/ext/message_admin/ang/crmMsgadm/AddTranslation.html b/ext/message_admin/ang/crmMsgadm/AddTranslation.html index dde436db0f..2f63a66c5c 100644 --- a/ext/message_admin/ang/crmMsgadm/AddTranslation.html +++ b/ext/message_admin/ang/crmMsgadm/AddTranslation.html @@ -19,15 +19,14 @@
-
+
- - - -
diff --git a/ext/message_admin/ang/crmMsgadm/EditContent.html b/ext/message_admin/ang/crmMsgadm/EditContent.html index 31eac84490..ae08fe0cc6 100644 --- a/ext/message_admin/ang/crmMsgadm/EditContent.html +++ b/ext/message_admin/ang/crmMsgadm/EditContent.html @@ -4,7 +4,10 @@
- {{::ts('Subject')}} + + + {{:: ts('Subject') }} +
- {{::ts('HTML Content')}} + + + {{:: ts('HTML Content') }} + + -   -
@@ -55,7 +61,19 @@
- {{::ts('Text Content')}} + + + {{:: ts('Text Content') }} + + +   -   -
diff --git a/ext/message_admin/ang/crmMsgadm/ExpandedEdit.html b/ext/message_admin/ang/crmMsgadm/ExpandedEdit.html index bd334b2586..2202a305f5 100644 --- a/ext/message_admin/ang/crmMsgadm/ExpandedEdit.html +++ b/ext/message_admin/ang/crmMsgadm/ExpandedEdit.html @@ -11,20 +11,21 @@