templates/view_event.html
author nishanth
Mon, 12 Apr 2010 13:49:00 +0530
changeset 14 cd6911eaac2c
child 18 7dae32a2439b
permissions -rw-r--r--
moved templates into templates directory and added user in context .
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     1
{% extends "base.html" %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     2
{% block content %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     3
	<h3>{{ event.title }}</h3><br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     4
	Description:<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     5
	{{event.description}}<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     6
	duration of the workshop: {{event.start_date}} to {{event.stop_date}}<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     7
	{% if not is_guest %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     8
		{% if is_attendee %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     9
			You have registered for this workshop.
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    10
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    11
			<a href="/reg/event/register/{{event.key}}">Click here</a> to register for the workshop.<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    12
		{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    13
	{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    14
	
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    15
	{% if can_submit_feedback %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    16
		<a href="/feedback/submit/{{event.key}}">Click here</a> to submit feedback for day {{event.feedback_status}}.<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    17
	{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    18
	
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    19
	{% if is_org %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    20
		{% if event.registration_is_open %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    21
			<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    22
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    23
			<a href="/reg/event/registration/open/{{event.key}}">Click here</a> to open the registration.<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    24
		{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    25
		
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    26
		{% ifequal event.quiz_status "00" %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    27
			<a href="/reg/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    28
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    29
			<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    30
		{% endifequal %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    31
		
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    32
		{% ifequal event.feedback_status "0" %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    33
			<a href="/reg/event/feedback/open/{{event.key}}">Click here</a> to open the feedback.<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    34
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    35
			<a href="/feedback/list/{{event.key}}">Click here</a> to see the feedbacks that we submitted.<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    36
			<a href="/reg/event/feedback/close/{{event.key}}">Click here</a> to close the feedback for day {{event.feedback_status}}.<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    37
		{% endifequal %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    38
	{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    39
	
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    40
{% endblock %}