mirror of
https://github.com/knadh/listmonk.git
synced 2025-01-04 13:20:17 +08:00
c24c19b120
- Add notifications for campaign state change - Add notifications for import state change Related changes. - Add a new 'templates' directory with HTML templates - Move the static campaign template as a .tpl file into it - Change Messenger.Push() to accept multiple recipients - Change exhaustCampaign()'s behaviour to pass metadata to admin emails
25 lines
No EOL
749 B
HTML
25 lines
No EOL
749 B
HTML
{{ define "campaign-status" }}
|
|
{{ template "header" . }}
|
|
<h2>Campaign update</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td width="30%"><strong>Campaign</strong></td>
|
|
<td><a href="{{ index . "RootURL" }}/campaigns/{{ index . "ID" }}">{{ index . "Name" }}</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%"><strong>Status</strong></td>
|
|
<td>{{ index . "Status" }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%"><strong>Sent</strong></td>
|
|
<td>{{ index . "Sent" }} / {{ index . "ToSend" }}</td>
|
|
</tr>
|
|
{{ if ne (index . "Reason") "" }}
|
|
<tr>
|
|
<td width="30%"><strong>Reason</strong></td>
|
|
<td>{{ index . "Reason" }}</td>
|
|
</tr>
|
|
{{ end }}
|
|
</table>
|
|
{{ template "footer" }}
|
|
{{ end }} |