{% extends "page_view.html" %} {% load i18n %} {% block title %}{% trans "Unsubscribe" %}{% endblock title %} {% block page.heading %} {% if outcome == "confirm" %}{% trans "Turn off notification email?" %}{% elif outcome == "done" %}{% trans "You're unsubscribed" %}{% elif outcome == "already" %}{% trans "You're already unsubscribed" %}{% else %}{% trans "This link doesn't work" %}{% endif %} {% endblock page.heading %} {% block page.lead %} {% if outcome == "confirm" %} {% blocktrans count counter=types|length %}You'll stop getting this notification by email.{% plural %}You'll stop getting these notifications by email.{% endblocktrans %} {% elif outcome == "done" %} {% blocktrans count counter=types|length %}You won't get this notification by email any more.{% plural %}You won't get these notifications by email any more.{% endblocktrans %} {% elif outcome == "already" %} {% trans "You had already turned these emails off. Nothing has changed." %} {% else %} {% trans "The link may have been copied incompletely. Nothing has changed, and you can turn these emails off in your notification preferences." %} {% endif %} {% endblock page.lead %} {% block page.content %} {% url 'mvp_community_notifications:preferences' as preferences_url %} {% if outcome == "confirm" %}{% trans "Email to turn off" as card_title %}{% else %}{% trans "Turned off by email" as card_title %}{% endif %} {% trans "Notifications on the site stay as they are." as still_on_site %} {% if types %} {% for type in types %}
{{ type.name }} {% if type.description %}{% endif %}
{% endfor %}
{% endif %} {% if outcome == "confirm" %}
{% trans "Turn off these emails" %} {% trans "Notification preferences" %}
{% else %}
{% trans "Notification preferences" %}
{% endif %} {% endblock page.content %}