diff options
author | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
commit | fc7369835258467bf97eb64f184b93691f9a9fd5 (patch) | |
tree | daabd60089d2dd76d9f5fb416b005fbe159c799d /www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BodyText.html |
first commit
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BodyText.html')
-rw-r--r-- | www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BodyText.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BodyText.html b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BodyText.html new file mode 100644 index 00000000..598c7792 --- /dev/null +++ b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BodyText.html @@ -0,0 +1,24 @@ +<!-- +Required vars: mailing, crmMailingConst +--> +<div ng-form="textForm" crm-ui-id-scope> + <div ng-controller="EmailBodyCtrl"> + <div style="float: right;"> + <input crm-mailing-token on-select="$broadcast('insert:body_text', token.name)" tabindex="-1"/> + </div> + + <div> + <textarea + crm-ui-id="textForm.body_text" + crm-ui-insert-rx="insert:body_text" + name="body_text" + ng-model="mailing.body_text" + ng-blur="checkTokens(mailing, 'body_text', 'insert:body_text')" + ></textarea> + <span ng-model="body_text_tokens" crm-ui-validate="hasAllTokens(mailing, 'body_text')"></span> + <div ng-show="textForm.$error.crmUiValidate" class="crmMailing-error-link"> + {{ts('Required tokens are missing.')}} <a class="helpicon" ng-click="checkTokens(mailing, 'body_text', 'insert:body_text')"></a> + </div> + </div> + </div> +</div> |