Files

32 lines
1.8 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}{% load slx_brand %}
{% block title %}SLX Newsletter{% endblock %}
{% block content %}
<main class="section article">
<p class="kicker">SLX Studio · Newsletter</p>
{% if mode == 'signup' %}
<h1>Get SLX release notes</h1>
<p>Chapter drops, production notes, and announcements from {{ "SLUMP X LAND"|slx_brand }}.</p>
{% if not available %}<p>Newsletter signup is not open right now.</p>
{% elif check %}
{% if delivery_ready %}<p>If this address can be subscribed, look for a confirmation email shortly. Check spam if you don’t see it.</p>
{% else %}<p>Thanks! Your signup request was received. You can confirm your subscription by email once newsletter delivery is available.</p>{% endif %}
{% else %}
<form method="post" class="account-form">
{% include 'newsletter/signup-fields.html' %}
</form>
{% endif %}
{% elif mode == 'confirm' %}
{% if done %}<h1>You’re on the list</h1><p>Your email is confirmed. Look out for the next SLX update.</p>
{% elif valid %}<h1>Confirm your signup</h1><p>Use the button below to start receiving the SLX newsletter.</p>
<form method="post">{% csrf_token %}<button class="cta" type="submit">Confirm subscription</button></form>
{% else %}<h1>This link isn’t active</h1><p><a href="{% url 'newsletter-signup' %}">Request a new confirmation</a> if you still want to join.</p>{% endif %}
{% else %}
{% if done %}<h1>You’re unsubscribed</h1><p>You won’t receive future SLX newsletters.</p>
{% else %}<h1>Unsubscribe from SLX updates?</h1>
<form method="post">{% csrf_token %}<button class="cta" type="submit">Unsubscribe</button></form>
{% endif %}
{% endif %}
<p><a href="{% url 'home' %}">Back to {{ "SLUMP X LAND"|slx_brand }}</a></p>
</main>
{% endblock %}