view_event.html
author nishanth
Mon, 12 Apr 2010 11:23:27 +0530
changeset 11 334550460bd7
parent 10 c52d170969f0
child 12 f57b0a7f24d9
permissions -rw-r--r--
added the view event functionality and submitting feedback according to the status .

{% extends "base.html" %}
{% block content %}
	<h3>{{ event.title }}</h3><br />
	Description:<br />
	{{event.description}}<br />
	duration of the workshop: {{event.start_date}} to {{event.stop_date}}<br />
	{% if not is_guest %}
		{% if is_attendee %}
			You have registered for this workshop.
		{% else %}
			<a href="/reg/event/register/{{event.key}}">Click here</a> to register for the workshop.<br />
		{% endif %}
	{% endif %}
	
	{% if can_submit_feedback %}
		<a href="/feedback/submit/{{event.key}}">Click here</a> to submit feedback for today's session.<br />
	
	{% if is_org %}
		{% if event.registration_is_open %}
			<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
		{% else %}
			<a href="/reg/event/registration/open/{{event.key}}">Click here</a> to open the registration.<br />
		{% endif %}
		
		{% ifequal quiz_status "00" %}
			<a href="/reg/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br />
		{% else %}
			<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
		{% endifequal %}
		
		{% ifequal feedback_status "0" %}
			<a href="/reg/event/feedback/open/{{event.key}}">Click here</a> to open the feedback.<br />
		{% else %}
			<a href="/feedback/list/{{event.key}}">Click here</a> to see the feedbacks that we submitted.<br />
			<a href="/reg/event/feedback/open/{{event.key}}">Click here</a> to close the feedback.<br />
		{% endifequal %}
	{% endif %}
		
		
	{% endif %}
{% endblock %}