{% extends "wagtailadmin/base.html" %}
{% load i18n wagtailadmin_tags %}

{% block titletag %}{% trans "Choose Newsletter Type" %}{% endblock %}

{% block content %}
  {% include "wagtailadmin/shared/header.html" with title=_("Create a newsletter") icon="mail" %}

  <div class="nice-padding">
    <p>{% trans "Please choose a newsletter type before editing." %}</p>

    <ul class="listing">
      <li>
        <div class="row row-flush">
          <div class="col8">
            <a href="{% url 'newsletter_campaign_add_by_type' type_general %}">
              {% icon name="plus-inverse" classname="default w-mr-1 w-align-middle" %}
              {% trans "General Newsletter" %}
              <div><span class="w-sr-only">.</span><small>{% trans "Free-form campaign content editor." %}</small></div>
            </a>
          </div>
        </div>
      </li>
      <li>
        <div class="row row-flush">
          <div class="col8">
            <a href="{% url 'newsletter_campaign_add_by_type' type_weekly_news %}">
              {% icon name="plus-inverse" classname="default w-mr-1 w-align-middle" %}
              {% trans "Weekly News Newsletter" %}
              <div><span class="w-sr-only">.</span><small>{% trans "Build from selected articles with item template." %}</small></div>
            </a>
          </div>
        </div>
      </li>
    </ul>
  </div>
{% endblock %}
