templates/view_event.html
author nishanth
Tue, 13 Apr 2010 10:50:29 +0530
changeset 19 115860e87238
parent 18 7dae32a2439b
child 26 9d18daf5277f
permissions -rw-r--r--
implemented list people functionality .
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 />
19
115860e87238 implemented list people functionality .
nishanth
parents: 18
diff changeset
     6
	duration of the workshop: {{event.start_date|date:"d M Y"}} to {{event.stop_date|date:"d M Y"}}<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 %}
19
115860e87238 implemented list people functionality .
nishanth
parents: 18
diff changeset
    21
		<a href="/reg/event/attendees/{{event.key}}">Click here</a> to view list of people registered for the workshop. <br />
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    22
		{% if event.registration_is_open %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    23
			<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
    24
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    25
			<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
    26
		{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    27
		
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    28
		{% ifequal event.quiz_status "00" %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    29
			<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
    30
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    31
			<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
    32
		{% endifequal %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    33
		
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    34
		{% ifequal event.feedback_status "0" %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    35
			<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
    36
		{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    37
			<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
    38
			<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
    39
		{% endifequal %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    40
	{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    41
	
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    42
{% endblock %}