{% extends 'base_course.html' %} {% block subtitle %} {# I18N: Title of the webpage. #} - {{ gettext('Announcements') }} {% endblock subtitle %} {% block top_content %} {% endblock %} {% block main_content %}
{% if announcements %} {% if announcements.add_action %}
{% endif %} {% if not announcements.children %} {# I18N: Shown if the list of announcements is empty. #}

{{ gettext('No announcements yet.') }}

{% endif %} {% for item in announcements.children %}
{% if item.delete_action %}
{% endif %} {% if item.edit_action %} Edit {% endif %}

{{ item.title }} {% if item.is_draft %}(Draft){% endif %}

{{ item.date }}

{{ item.html | gcb_tags }} {% endfor %} {% endif %}

{% endblock %}