templates/view_event.html
changeset 36 cd0f61fa31f1
parent 34 c12a0b773720
child 38 b63b78017225
equal deleted inserted replaced
35:79dc44b6edd4 36:cd0f61fa31f1
    22 	{% if can_submit_feedback %}
    22 	{% if can_submit_feedback %}
    23 		<a href="/feedback/submit/{{event.key}}">Click here</a> to submit feedback for day {{event.feedback_status}}.<br />
    23 		<a href="/feedback/submit/{{event.key}}">Click here</a> to submit feedback for day {{event.feedback_status}}.<br />
    24 	{% endif %}
    24 	{% endif %}
    25 	
    25 	
    26 	{% if is_org %}
    26 	{% if is_org %}
    27 		<a href="/reg/event/attendees/{{event.key}}">Click here</a> to view list of people registered for the workshop. <br />
    27 		<a href="/reg/event/attendees/{{event.key}}">View list of people registered for the workshop</a> <br />
    28 		<a href="/feedback/list/{{event.key}}">Click here</a> to see the feedbacks that we submitted.<br /><br />
    28 		<a href="/feedback/list/{{event.key}}">View submitted feedbacks</a><br /><br />
    29 		{% if user.is_staff %}
    29 		{% if user.is_staff %}
    30 			{% if event.registration_is_open %}
    30 			{% if event.registration_is_open %}
    31 				<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
    31 				<a href="/reg/event/registration/close/{{event.key}}">Close the registration</a><br />
    32 			{% else %}
    32 			{% else %}
    33 				<a href="/reg/event/registration/open/{{event.key}}">Click here</a> to open the registration.<br />
    33 				<a href="/reg/event/registration/open/{{event.key}}">Open the registration</a><br />
    34 			{% endif %}
    34 			{% endif %}
    35 			
    35 <!--			
    36 			{% ifequal event.quiz_status "00" %}
    36 			{% ifequal event.quiz_status "00" %}
    37 				<a href="/reg/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br />
    37 				<a href="/reg/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br />
    38 			{% else %}
    38 			{% else %}
    39 				<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
    39 				<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
    40 			{% endifequal %}
    40 			{% endifequal %}
    41 			
    41 	-->		
    42 			{% ifequal event.feedback_status "0" %}
    42 			{% ifequal event.feedback_status "0" %}
    43 				<a href="/reg/event/feedback/open/{{event.key}}">Click here</a> to open the feedback.<br />
    43 				<a href="/reg/event/feedback/open/{{event.key}}">Open feedback</a><br />
    44 			{% else %}
    44 			{% else %}
    45 				<a href="/reg/event/feedback/close/{{event.key}}">Click here</a> to close the feedback for day {{event.feedback_status}}.<br />
    45 				<a href="/reg/event/feedback/close/{{event.key}}">Close the feedback for day {{event.feedback_status}}</a><br />
    46 			{% endifequal %}
    46 			{% endifequal %}
    47 		{% endif %}
    47 		{% endif %}
    48 	{% endif %}
    48 	{% endif %}
    49 	
    49 	
    50 {% endblock %}
    50 {% endblock %}