2 Controller: EditMailingCtrl
3 Required vars: mailing, crmMailingConst
5 <div class=
"crm-block">
6 <div class=
"crm-group">
7 <div crm-ui-field=
"override_verp" crm-title=
"ts('Track Replies')" crm-layout=
"checkbox">
8 <!-- Comparing data-model and UI of "override_verp", note that true/false are inverted (enabled==0,disabled==1) -->
9 <input name=
"override_verp" type=
"checkbox" ng-model=
"mailing.override_verp" ng-true-value=
"0" ng-false-value=
"1" />
11 <div class=
"crm-section" id=
"help">
12 {{ts('Recipients\' replies are sent to a CiviMail specific address instead of the sender\'s address so they can be stored within CiviCRM.')}}
14 <div crm-ui-field=
"forward_replies" crm-title=
"ts('Forward Replies')" crm-layout=
"checkbox" ng-show=
"'0' == mailing.override_verp">
15 <input name=
"forward_replies" type=
"checkbox" ng-model=
"mailing.forward_replies" ng-true-value=
"1" ng-false-value=
"0" />
17 <div class=
"crm-section" id=
"help" ng-show=
"'0' == mailing.override_verp">
18 {{ts('If a recipient replies to this mailing, forward the reply to the FROM Email address specified for the mailing.')}}
20 <div crm-ui-field=
"auto_responder" crm-title=
"ts('Auto-Respond to Replies')" crm-layout=
"checkbox" ng-show=
"'0' == mailing.override_verp">
21 <input name=
"auto_responder" type=
"checkbox" ng-model=
"mailing.auto_responder" ng-true-value=
"1" ng-false-value=
"0" />
23 <div class=
"crm-section" id=
"help" ng-show=
"'0' == mailing.override_verp">
24 {{ts('If a recipient replies to this mailing, send an automated reply using the selected message.')}}
31 <div class=
"crm-block">
32 <div class=
"crm-group">
33 <div crm-ui-field=
"reply_id" crm-title=
"ts('Auto-Respond Message')" ng-show=
"'0' == mailing.override_verp && '1' == mailing.auto_responder">
37 ui-options=
"{dropdownAutoWidth : true}"
38 ng-model=
"mailing.reply_id"
39 ng-options=
"mc.id as mc.name for mc in crmMailingConst.headerfooterList | filter:{component_type: 'Reply'}"
41 <option value=
""></option>
44 <div crm-ui-field=
"optout_id" crm-title=
"ts('Opt-out Message')">
48 ui-options=
"{dropdownAutoWidth : true}"
49 ng-model=
"mailing.optout_id"
50 ng-options=
"mc.id as mc.name for mc in crmMailingConst.headerfooterList | filter:{component_type: 'OptOut'}"
52 <option value=
""></option>
55 <div crm-ui-field=
"resubscribe_id" crm-title=
"ts('Resubscribe Message')">
59 ui-options=
"{dropdownAutoWidth : true}"
60 ng-model=
"mailing.resubscribe_id"
61 ng-options=
"mc.id as mc.name for mc in crmMailingConst.headerfooterList | filter:{component_type: 'Resubscribe'}"
63 <option value=
""></option>
66 <div crm-ui-field=
"unsubscribe_id" crm-title=
"ts('Unsubscribe Message')">
70 ui-options=
"{dropdownAutoWidth : true}"
71 ng-model=
"mailing.unsubscribe_id"
72 ng-options=
"mc.id as mc.name for mc in crmMailingConst.headerfooterList | filter:{component_type: 'Unsubscribe'}"
74 <option value=
""></option>