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