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