Merge pull request #9790 from fliespl/patch-3
[civicrm-core.git] / ang / crmMailing / EmailBodyCtrl / tokenAlert.html
CommitLineData
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">
77ec5a8d 7 <a ng-click="insertToken('domain.address')" class="button"><span><i class="crm-i fa-plus-circle"></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']">
7a39e5e9 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>
20 <th>{{ts('Via Web')}}</th>
21 <th>{{ts('Via Email')}}</th>
22 </tr>
23 </thead>
24 <tbody>
25 <tr>
26 <td>
77ec5a8d 27 <a ng-click="insertToken('action.unsubscribeUrl')" class="button"><span><i class="crm-i fa-plus-circle"></i> {{ts('Unsubscribe')}}</span></a>
89f476c4
TO
28 </td>
29 <td>
77ec5a8d 30 <a ng-click="insertToken('action.unsubscribe')" class="button"><span><i class="crm-i fa-plus-circle"></i> {{ts('Unsubscribe')}}</span></a>
89f476c4
TO
31 </td>
32 </tr>
33 <tr>
34 <td>
77ec5a8d 35 <a ng-click="insertToken('action.optOutUrl')" class="button"><span><i class="crm-i fa-plus-circle"></i> {{ts('Opt-out')}}</span></a>
89f476c4
TO
36 </td>
37 <td>
77ec5a8d 38 <a ng-click="insertToken('action.optOut')" class="button"><span><i class="crm-i fa-plus-circle"></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>
49 <th>{{ts('Via Web')}}</th>
50 <th>{{ts('Via Email')}}</th>
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>
75 {{ts('Alternatively, you may select a header or footer which includes the required tokens.')}}
76</p>