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