Commit | Line | Data |
---|---|---|
89f476c4 TO |
1 | <p ng-show="missing['domain.address']"> |
2 | {{ts('The mailing must include the street address of the organization. Please insert the %1 token.', {1: | |
3 | '{domain.address}'})}} | |
4 | </p> | |
5 | ||
6 | <div ng-show="missing['domain.address'] && insertable"> | |
13a3d214 | 7 | <a ng-click="insertToken('domain.address')" class="button"><span><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {{:: ts('Address') }}</span></a> |
89f476c4 | 8 | |
db7b618d | 9 | <div class="clear"></div> |
89f476c4 TO |
10 | </div> |
11 | ||
12 | <p ng-show="missing['action.optOut']"> | |
f9c5f498 | 13 | {{:: ts('The mailing must allow recipients to (a) unsubscribe from the mailing-list or (b) completely opt-out from all mailings. Please insert an unsubscribe or opt-out token.') }} |
89f476c4 TO |
14 | </p> |
15 | ||
16 | <div ng-show="missing['action.optOut'] && insertable"> | |
17 | <table> | |
18 | <thead> | |
19 | <tr> | |
f9c5f498 CW |
20 | <th>{{:: ts('Via Web') }}</th> |
21 | <th>{{:: ts('Via Email') }}</th> | |
89f476c4 TO |
22 | </tr> |
23 | </thead> | |
24 | <tbody> | |
25 | <tr> | |
26 | <td> | |
13a3d214 | 27 | <a ng-click="insertToken('action.unsubscribeUrl')" class="button"><span><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {{:: ts('Unsubscribe') }}</span></a> |
89f476c4 TO |
28 | </td> |
29 | <td> | |
13a3d214 | 30 | <a ng-click="insertToken('action.unsubscribe')" class="button"><span><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {{:: ts('Unsubscribe') }}</span></a> |
89f476c4 TO |
31 | </td> |
32 | </tr> | |
33 | <tr> | |
34 | <td> | |
13a3d214 | 35 | <a ng-click="insertToken('action.optOutUrl')" class="button"><span><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {{:: ts('Opt-out') }}</span></a> |
89f476c4 TO |
36 | </td> |
37 | <td> | |
13a3d214 | 38 | <a ng-click="insertToken('action.optOut')" class="button"><span><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {{:: ts('Opt-out') }}</span></a> |
89f476c4 TO |
39 | </td> |
40 | </tr> | |
41 | </tbody> | |
42 | </table> | |
43 | </div> | |
44 | ||
45 | <div ng-show="missing['action.optOut'] && !insertable"> | |
46 | <table> | |
47 | <thead> | |
48 | <tr> | |
f9c5f498 CW |
49 | <th>{{:: ts('Via Web') }}</th> |
50 | <th>{{:: ts('Via Email') }}</th> | |
89f476c4 TO |
51 | </tr> |
52 | </thead> | |
53 | <tbody> | |
54 | <tr> | |
55 | <td> | |
56 | {action.optOutUrl} | |
57 | </td> | |
58 | <td> | |
59 | {action.optOut} | |
60 | </td> | |
61 | </tr> | |
62 | <tr> | |
63 | <td> | |
64 | {action.unsubscribeUrl} | |
65 | </td> | |
66 | <td> | |
67 | {action.unsubscribe} | |
68 | </td> | |
69 | </tr> | |
70 | </tbody> | |
71 | </table> | |
72 | </div> | |
73 | ||
74 | <p> | |
f9c5f498 | 75 | {{:: ts('Alternatively, you may select a header or footer which includes the required tokens.') }} |
89f476c4 | 76 | </p> |