PonyConf/proposals/templates/proposals/participate.html

36 lines
1.1 KiB
HTML

{% extends 'base.html' %}
{% load accounts_tags i18n %}
{% block exhibitortab %} class="active"{% endblock %}
{% block content %}
<h1>{% trans "Participate" %}</h1>
{% if my_talks %}
<h2>{% trans "My talks:" %}</h2>
{% include "proposals/_talk_list.html" with talk_list=my_talks %}
{% endif %}
{% if proposed_talks %}
<h2>{% trans "Proposed talks for others speakers:" %}</h2>
{% include "proposals/_talk_list.html" with talk_list=proposed_talks %}
{% endif %}
<br />
{% if conference.cfp_is_open %}
{% trans "The Call for Participation is currently open for following categories:" %}
{% for event in conference.opened_events.all %}
{% if forloop.first %}<ul>{% endif %}
<li>{{ event }}{% if event.closing_date %} ({% blocktrans with closing_date=event.closing_date|date:"DATETIME_FORMAT" %}until {{ closing_date }}{% endblocktrans %}){% endif %}</li>
{% if forloop.last %}</ul>{% endif %}
{% endfor %}
<br />
<a class="btn btn-{% if conference.cfp_is_open %}success{% else %}danger{% endif %}" href="{% url 'add-talk' %}">{% trans "Propose a talk" %}</a>
{% else %}
{% trans "Sorry, the Call for Participation is closed." %}
{% endif %}
{% endblock %}