{% extends "quillet/base.html" %} {% block title %} {% if post %}Edit: {{ post.title }}{% else %}New post{% endif %} โ€” {{ newsletter.name }} {% endblock %} {% block head %} {% endblock %} {% block content %}

โ† Dashboard

{% if post %}Edit post{% else %}New post{% endif %}

{% if post %}
{% if post.published_at %} Published {{ post.published_at.strftime('%b %d, %Y') }} {% if post.sent_at %} ยท Sent {{ post.sent_at.strftime('%b %d, %Y') }}{% endif %} {% else %} Draft {% endif %}
{% endif %} {% if error %}

{{ error }}

{% endif %}

URL: /{{ newsletter.slug }}/posts/slug

{% if post and not post.published_at %}
{% endif %} {% if post and post.published_at and not post.sent_at %}
{% endif %} {% if post %} View post โ†— {% endif %}
{% if post %}
{% if request.args.get('test_sent') %}

Test email sent.

{% endif %}
{% endif %} {% endblock %}