{% extends "base.html" %} {% block content %}

{{ event.title }}

Description:
{{event.description|linebreaksbr}}

Duration: {{event.start_date|date:"d M Y"}} to {{event.stop_date|date:"d M Y"}}

{% if user.is_authenticated %} {% if event.registration_is_open %} {% if is_attendee %} You have registered for this workshop.
{% else %} Register for this workshop.
{% endif %} {% else %} Registration for this workshop is not open at this moment.
{% endif %} {% else %} You must be a registered user to register for this workshop.
{% endif %} {% if can_submit_feedback %} Click here to submit feedback for day {{event.feedback_status}}.
{% endif %} {% if is_org %} Click here to view list of people registered for the workshop.
Click here to see the feedbacks that we submitted.

{% if user.is_staff %} {% if event.registration_is_open %} Click here to close the registration.
{% else %} Click here to open the registration.
{% endif %} {% ifequal event.quiz_status "00" %} Click here to open quiz.
{% else %} Click here to close the registration.
{% endifequal %} {% ifequal event.feedback_status "0" %} Click here to open the feedback.
{% else %} Click here to close the feedback for day {{event.feedback_status}}.
{% endifequal %} {% endif %} {% endif %} {% endblock %}