54 lines
2.7 KiB
HTML
54 lines
2.7 KiB
HTML
{% extends "emails/_base.html" %}
|
|
{% block body %}
|
|
<h1 style="margin:0 0 12px 0; font-size:22px; font-weight:700; color:#991b1b; letter-spacing:-0.01em;">Submission rejected</h1>
|
|
|
|
<p style="margin:0 0 16px 0; color:#334155; font-size:15px; line-height:1.55;">
|
|
Unfortunately your submission <strong style="font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; color:#92400e; font-weight:700;">{{ submission.slug }}</strong> was rejected{% if previous_status %} during <em>{{ previous_status }}</em>{% endif %}.
|
|
</p>
|
|
|
|
{# Status pill -- coloured from `Submission.STATUS_EMAIL_COLORS` (red for `rejected`). #}
|
|
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="margin:0 0 20px 0;">
|
|
<tr>
|
|
<td style="padding:6px 14px; background-color:{{ submission.status_email_style.bg }}; border-radius:9999px;">
|
|
<span style="color:{{ submission.status_email_style.fg }}; font-weight:600; font-size:14px; letter-spacing:0.01em;">
|
|
{{ submission.get_status_display }}
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{% comment %}
|
|
Reason callout -- always rendered. Falls back to a placeholder if
|
|
operator_notes is somehow blank (shouldn't happen for a rejected row but
|
|
we're defensive).
|
|
{% endcomment %}
|
|
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin:0 0 24px 0;">
|
|
<tr>
|
|
<td style="padding:16px; background-color:#fef2f2; border-left:3px solid #ef4444; border-radius:0 4px 4px 0;">
|
|
<p style="margin:0 0 6px 0; font-size:11px; font-weight:600; color:#991b1b; text-transform:uppercase; letter-spacing:0.06em;">
|
|
Reason
|
|
</p>
|
|
<p style="margin:0; color:#334155; font-size:14px; line-height:1.55; white-space:pre-line;">{{ submission.operator_notes|default:"(no reason recorded)" }}</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p style="margin:0 0 20px 0; color:#334155; font-size:15px; line-height:1.55;">
|
|
You're welcome to fix the issue and submit a new print. This rejected submission will be removed from our records in 24 hours.
|
|
</p>
|
|
|
|
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td style="background-color:#f59e0b; border-radius:6px;">
|
|
<a href="{{ site_url }}/submit/" style="display:inline-block; padding:12px 24px; color:#ffffff; font-weight:600; font-size:15px; text-decoration:none; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;">
|
|
Try a new submission
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p style="margin:18px 0 0 0; font-size:13px; color:#64748b; line-height:1.55;">
|
|
Think this rejection was a mistake? Reply to this email or reach out to the operators at <a href="https://hamlab.lt" style="color:#475569; text-decoration:underline;">hamlab.lt</a>.
|
|
</p>
|
|
{% endblock %}
|