templates/view_event.html
author nishanth
Fri, 16 Apr 2010 16:37:28 +0530
changeset 75 bda9ee536063
parent 68 73720e19d222
child 82 b144e1da529d
permissions -rw-r--r--
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
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 %}
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
     3
	<h3>{{ event.title }}</h3>
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
     4
	<b>Description:</b><br />
68
73720e19d222 removed extra linebreaks in view event template.
nishanth
parents: 57
diff changeset
     5
	{{event.description|linebreaksbr}}
43
757d1da69255 added venue field in event model and corresponding forms and views.
nishanth
parents: 41
diff changeset
     6
	<b>Duration:</b> {{event.start_date|date:"d M Y"}} to {{event.stop_date|date:"d M Y"}}<br />
757d1da69255 added venue field in event model and corresponding forms and views.
nishanth
parents: 41
diff changeset
     7
	<b>Venue:</b> {{event.venue}} <br /><br />
57
d321a507fc26 updated view_event page .
nishanth
parents: 46
diff changeset
     8
d321a507fc26 updated view_event page .
nishanth
parents: 46
diff changeset
     9
	{% if event.registration_is_open %}	
d321a507fc26 updated view_event page .
nishanth
parents: 46
diff changeset
    10
		{% if user.is_authenticated %}
d321a507fc26 updated view_event page .
nishanth
parents: 46
diff changeset
    11
			{% if not is_attendee %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 68
diff changeset
    12
				<a href="/workshop/registration/event/register/{{event.key}}">Register for this workshop.</a><br />
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    13
			{% endif %}	
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    14
		{% else %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 68
diff changeset
    15
			<a href="/workshop/registration/register/{{event.key}}">Register for this workshop</a>.<br />
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    16
		{% endif %}
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    17
	{% else %}
57
d321a507fc26 updated view_event page .
nishanth
parents: 46
diff changeset
    18
		Registration for this workshop is not open at this moment.<br />
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    19
	{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    20
	
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    21
	{% if can_submit_feedback %}
38
b63b78017225 added date tags in view event template and open_feedback template is now a lil better .
nishanth
parents: 36
diff changeset
    22
		<a href="/feedback/submit/{{event.key}}">Submit feedback for day {{event.feedback_status}} of {{event.title}}<br />
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    23
	{% endif %}
38
b63b78017225 added date tags in view event template and open_feedback template is now a lil better .
nishanth
parents: 36
diff changeset
    24
	<br />
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    25
	{% if is_org %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 68
diff changeset
    26
		<a href="/workshop/registration/event/attendees/{{event.key}}">View list of people registered for the workshop</a> <br />
41
ab0a8a72b069 added view report functionality. have to make it look better.
nishanth
parents: 40
diff changeset
    27
		<a href="/feedback/list/{{event.key}}">View submitted feedbacks</a><br />
ab0a8a72b069 added view report functionality. have to make it look better.
nishanth
parents: 40
diff changeset
    28
		<a href="/feedback/report/{{event.key}}">View a report of the workshop</a><br /><br />
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    29
		{% if user.is_staff %}
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    30
			{% if event.registration_is_open %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 68
diff changeset
    31
				<a href="/workshop/registration/event/registration/close/{{event.key}}">Close registration</a><br />
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    32
			{% else %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 68
diff changeset
    33
				<a href="/workshop/registration/event/registration/open/{{event.key}}">Open registration</a><br />
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    34
			{% endif %}
36
cd0f61fa31f1 removed quiz links from view event template .
nishanth
parents: 34
diff changeset
    35
<!--			
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    36
			{% ifequal event.quiz_status "00" %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 68
diff changeset
    37
				<a href="/workshop/registration/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br />
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    38
			{% else %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 68
diff changeset
    39
				<a href="/workshop/registration/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br />
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    40
			{% endifequal %}
36
cd0f61fa31f1 removed quiz links from view event template .
nishanth
parents: 34
diff changeset
    41
	-->		
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    42
			{% ifequal event.feedback_status "0" %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 68
diff changeset
    43
				<a href="/workshop/registration/event/feedback/open/{{event.key}}">Open feedback</a><br />
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    44
			{% else %}
75
bda9ee536063 changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents: 68
diff changeset
    45
				<a href="/workshop/registration/event/feedback/close/{{event.key}}">Close feedback for day {{event.feedback_status}}</a><br />
26
9d18daf5277f now the "you must register" link appears on view event page .
nishanth
parents: 19
diff changeset
    46
			{% endifequal %}
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    47
		{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    48
	{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    49
	
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    50
{% endblock %}