{% load i18n %} {% with profile=object.userprofile %} {% if can_edit %} {% if profile.pending_talks.exists or profile.accepted_talks.exists or profile.provisional_talks.exists%} {% block speaker_registered %} {% if profile.is_registered %}
{% blocktrans trimmed %} Registered {% endblocktrans %}
{% else %}
{% blocktrans trimmed %} WARNING: Talk proposal submitted, but speaker hasn't registered to attend. {% endblocktrans %} {% if WAFER_REGISTRATION_OPEN %} {% trans "Register now!" %} {% endif %}
{% endif %} {% if WAFER_REGISTRATION_MODE == 'ticket' and profile.is_registered %}

Tickets: {{ profile.ticket_types }}

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