templates/view_event.html
author nishanth
Mon, 12 Apr 2010 18:15:21 +0530
changeset 18 7dae32a2439b
parent 14 cd6911eaac2c
child 19 115860e87238
permissions -rw-r--r--
prettified the home page and moved workshops to another page called workshops.
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 />
18
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents: 14
diff changeset
     5
	{{event.description|linebreaksbr}}<br />
14
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 />
18
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents: 14
diff changeset
     7
	
7dae32a2439b prettified the home page and moved workshops to another page called workshops.
nishanth
parents: 14
diff changeset
     8
	{% if not is_guest and event.registration_is_open %}
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     9
		{% if is_attendee %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    10
			You have registered for this workshop.
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    11
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    12
			<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
    13
		{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    14
	{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    15
	
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    16
	{% if can_submit_feedback %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    17
		<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
    18
	{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    19
	
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    20
	{% if is_org %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    21
		{% if event.registration_is_open %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    22
			<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
    23
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    24
			<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
    25
		{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    26
		
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    27
		{% ifequal event.quiz_status "00" %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    28
			<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
    29
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    30
			<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
    31
		{% endifequal %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    32
		
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    33
		{% ifequal event.feedback_status "0" %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    34
			<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
    35
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    36
			<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
    37
			<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
    38
		{% endifequal %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    39
	{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    40
	
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    41
{% endblock %}