{% extends "teacheradmin/base_teacheradmin.html" %} {% load i18n %} {% block nav-teacheradmin-announcements %}active{% endblock %} {% block extraheader %} {{ form.media }} {% endblock %} {% block section %} {% if remain_send_emails > 0 %}

{% trans "Be aware!" %}

{% blocktrans %}If you send this announcement via email, you will be about to send an email to {{ students }} students.{% endblocktrans %} {% blocktrans with max_mass_emails_month=course.max_mass_emails_month %}This course can send {{ remain_send_emails }} (of {{ max_mass_emails_month }}) announcements via email this month still.{% endblocktrans %}
{% else %}

{% trans "I'm sorry!" %}

{% blocktrans with max_mass_emails_month=course.max_mass_emails_month %}This course has exceeded the maximum of emails that it can send this month: {{ max_mass_emails_month }}. You have not the option to send this announcement via email {% endblocktrans %}
{% endif %}
{% csrf_token %} {{ form.as_bootstrap }}
{% if announcement %} {% else %} {% endif %}
{% endblock %}