2018-11-28 08:59:57 +01:00
|
|
|
{{ define "campaign-status" }}
|
|
|
|
{{ template "header" . }}
|
2021-02-02 12:36:27 +01:00
|
|
|
<h2>{{ L.Ts "email.status.campaignUpdateTitle" }}</h2>
|
2018-11-28 08:59:57 +01:00
|
|
|
<table width="100%">
|
|
|
|
<tr>
|
2021-02-17 15:41:59 +01:00
|
|
|
<td width="30%"><strong>{{ L.Ts "global.terms.campaign" }}</strong></td>
|
2018-11-28 08:59:57 +01:00
|
|
|
<td><a href="{{ index . "RootURL" }}/campaigns/{{ index . "ID" }}">{{ index . "Name" }}</a></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2021-01-23 15:04:30 +01:00
|
|
|
<td width="30%"><strong>{{ L.Ts "email.status.status" }}</strong></td>
|
2018-11-28 08:59:57 +01:00
|
|
|
<td>{{ index . "Status" }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2021-01-23 15:04:30 +01:00
|
|
|
<td width="30%"><strong>{{ L.Ts "email.status.campaignSent" }}</strong></td>
|
2018-11-28 08:59:57 +01:00
|
|
|
<td>{{ index . "Sent" }} / {{ index . "ToSend" }}</td>
|
|
|
|
</tr>
|
|
|
|
{{ if ne (index . "Reason") "" }}
|
|
|
|
<tr>
|
2021-01-23 15:04:30 +01:00
|
|
|
<td width="30%"><strong>{{ L.Ts "email.status.campaignReason" }}</strong></td>
|
2018-11-28 08:59:57 +01:00
|
|
|
<td>{{ index . "Reason" }}</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</table>
|
|
|
|
{{ template "footer" }}
|
2021-02-17 15:41:59 +01:00
|
|
|
{{ end }}
|