{% extends "cfp/event/base.html" %} {% load i18n %} {% load orga_edit_link %} {% load rich_text %} {% load rules %} {% block content %} {% with cfp=request.event.cfp %} {% has_perm 'agenda.view_featured_submissions' request.user request.event as can_view_featured_submissions %} {% has_perm 'orga.edit_cfp' request.user request.event as can_edit_cfp %}

{{ cfp.headline|default:"" }}

{% if can_edit_cfp %}{% orga_edit_link request.event.cfp.urls.text %}{% endif %}
{{ cfp.text|rich_text }} {% if request.event.cfp.settings.show_deadline and request.event.cfp.max_deadline %}

{% if cfp.is_open %} {% blocktranslate with deadline=cfp.max_deadline|date:"SHORT_DATETIME_FORMAT" timezone=request.timezone until_string=cfp.max_deadline|timeuntil trimmed %} You can enter proposals until {{ deadline }} ({{ timezone }}), {{ until_string }} from now. {% endblocktranslate %} {% else %} {% blocktranslate with deadline=cfp.max_deadline|date:"SHORT_DATETIME_FORMAT" timezone=request.timezone trimmed %} This Call for Papers closed on {{ deadline }} ({{ timezone }}). {% endblocktranslate %} {% endif %}

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