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"> | |
7 | <a ng-click="insertToken('domain.address')" class="button"><span><span | |
8 | class='icon ui-icon-circle-plus'></span> {{ts('Address')}}</span></a> | |
9 | ||
10 | <div class="clear"/> | |
11 | </div> | |
12 | ||
13 | <p ng-show="missing['action.optOut']"> | |
14 | {{ts('The mailing must allow recipients to (a) unsubscribe from the mailing-list or (b) completely opt-out from all | |
15 | mailings. Please insert an unsubscribe or opt-out token.')}} | |
16 | </p> | |
17 | ||
18 | <div ng-show="missing['action.optOut'] && insertable"> | |
19 | <table> | |
20 | <thead> | |
21 | <tr> | |
22 | <th>{{ts('Via Web')}}</th> | |
23 | <th>{{ts('Via Email')}}</th> | |
24 | </tr> | |
25 | </thead> | |
26 | <tbody> | |
27 | <tr> | |
28 | <td> | |
29 | <a ng-click="insertToken('action.unsubscribeUrl')" class="button"><span><span | |
30 | class='icon ui-icon-circle-plus'></span> {{ts('Unsubscribe')}}</span></a> | |
31 | </td> | |
32 | <td> | |
33 | <a ng-click="insertToken('action.unsubscribe')" class="button"><span><span | |
34 | class='icon ui-icon-circle-plus'></span> {{ts('Unsubscribe')}}</span></a> | |
35 | </td> | |
36 | </tr> | |
37 | <tr> | |
38 | <td> | |
39 | <a ng-click="insertToken('action.optOutUrl')" class="button"><span><span | |
40 | class='icon ui-icon-circle-plus'></span> {{ts('Opt-out')}}</span></a> | |
41 | </td> | |
42 | <td> | |
43 | <a ng-click="insertToken('action.optOut')" class="button"><span><span | |
44 | class='icon ui-icon-circle-plus'></span> {{ts('Opt-out')}}</span></a> | |
45 | </td> | |
46 | </tr> | |
47 | </tbody> | |
48 | </table> | |
49 | </div> | |
50 | ||
51 | <div ng-show="missing['action.optOut'] && !insertable"> | |
52 | <table> | |
53 | <thead> | |
54 | <tr> | |
55 | <th>{{ts('Via Web')}}</th> | |
56 | <th>{{ts('Via Email')}}</th> | |
57 | </tr> | |
58 | </thead> | |
59 | <tbody> | |
60 | <tr> | |
61 | <td> | |
62 | {action.optOutUrl} | |
63 | </td> | |
64 | <td> | |
65 | {action.optOut} | |
66 | </td> | |
67 | </tr> | |
68 | <tr> | |
69 | <td> | |
70 | {action.unsubscribeUrl} | |
71 | </td> | |
72 | <td> | |
73 | {action.unsubscribe} | |
74 | </td> | |
75 | </tr> | |
76 | </tbody> | |
77 | </table> | |
78 | </div> | |
79 | ||
80 | <p> | |
81 | {{ts('Alternatively, you may select a header or footer which includes the required tokens.')}} | |
82 | </p> |