2018-11-28 08:59:57 +01:00
|
|
|
{{ define "campaign-status" }}
|
|
|
|
{{ template "header" . }}
|
2020-12-19 11:55:52 +01:00
|
|
|
<h2>{{ .L.T "email.status.campaignUpdate" }}</h2>
|
2018-11-28 08:59:57 +01:00
|
|
|
<table width="100%">
|
|
|
|
<tr>
|
2020-12-19 11:55:52 +01:00
|
|
|
<td width="30%"><strong>{{ .L.T "globa.L.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>
|
2020-12-19 11:55:52 +01:00
|
|
|
<td width="30%"><strong>{{ .L.T "email.status.status" }}</strong></td>
|
2018-11-28 08:59:57 +01:00
|
|
|
<td>{{ index . "Status" }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-12-19 11:55:52 +01:00
|
|
|
<td width="30%"><strong>{{ .L.T "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>
|
2020-12-19 11:55:52 +01:00
|
|
|
<td width="30%"><strong>{{ .L.T "email.status.campaignReason" }}</strong></td>
|
2018-11-28 08:59:57 +01:00
|
|
|
<td>{{ index . "Reason" }}</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</table>
|
|
|
|
{{ template "footer" }}
|
|
|
|
{{ end }}
|