Commit | Line | Data |
---|---|---|
1bbf688e TO |
1 | <!-- |
2 | Controller: EditMailingCtrl | |
3 | Required vars: mailing, crmMailingConst | |
1bbf688e | 4 | --> |
0112f1ae TO |
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" /> | |
10 | </div> | |
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.')}} | |
13 | </div> | |
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" /> | |
16 | </div> | |
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.')}} | |
19 | </div> | |
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" /> | |
22 | </div> | |
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.')}} | |
25 | </div> | |
26 | </div> | |
27 | </div> | |
1bbf688e TO |
28 | |
29 | <hr/> | |
30 | ||
0112f1ae TO |
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"> | |
34 | <select | |
35 | name="reply_id" | |
36 | ui-jq="select2" | |
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'}" | |
40 | required> | |
41 | <option value=""></option> | |
42 | </select> | |
43 | </div> | |
44 | <div crm-ui-field="optout_id" crm-title="ts('Opt-out Message')"> | |
45 | <select | |
46 | name="optout_id" | |
47 | ui-jq="select2" | |
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'}" | |
51 | required> | |
52 | <option value=""></option> | |
53 | </select> | |
54 | </div> | |
55 | <div crm-ui-field="resubscribe_id" crm-title="ts('Resubscribe Message')"> | |
56 | <select | |
57 | name="resubscribe_id" | |
58 | ui-jq="select2" | |
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'}" | |
62 | required> | |
63 | <option value=""></option> | |
64 | </select> | |
65 | </div> | |
66 | <div crm-ui-field="unsubscribe_id" crm-title="ts('Unsubscribe Message')"> | |
67 | <select | |
68 | name="unsubscribe_id" | |
69 | ui-jq="select2" | |
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'}" | |
73 | required> | |
74 | <option value=""></option> | |
75 | </select> | |
76 | </div> | |
77 | </div> | |
78 | </div> |