--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/view_event.html Mon Apr 12 13:49:00 2010 +0530
@@ -0,0 +1,40 @@
+{% 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 day {{event.feedback_status}}.<br />
+ {% endif %}
+
+ {% 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 event.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 event.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/close/{{event.key}}">Click here</a> to close the feedback for day {{event.feedback_status}}.<br />
+ {% endifequal %}
+ {% endif %}
+
+{% endblock %}