author | nishanth |
Fri, 16 Apr 2010 17:11:47 +0530 | |
changeset 83 | b8f6bc32d8f7 |
parent 82 | b144e1da529d |
permissions | -rw-r--r-- |
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 | 5 |
{{event.description|linebreaksbr}} |
83 | 6 |
<br /> |
43
757d1da69255
added venue field in event model and corresponding forms and views.
nishanth
parents:
41
diff
changeset
|
7 |
<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
|
8 |
<b>Venue:</b> {{event.venue}} <br /><br /> |
57 | 9 |
|
10 |
{% if event.registration_is_open %} |
|
11 |
{% if user.is_authenticated %} |
|
12 |
{% if not is_attendee %} |
|
75
bda9ee536063
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents:
68
diff
changeset
|
13 |
<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
|
14 |
{% endif %} |
14
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
15 |
{% else %} |
75
bda9ee536063
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents:
68
diff
changeset
|
16 |
<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
|
17 |
{% endif %} |
26
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
18 |
{% else %} |
57 | 19 |
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
|
20 |
{% endif %} |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
21 |
|
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
22 |
{% if can_submit_feedback %} |
82 | 23 |
<a href="/workshop/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
|
24 |
{% endif %} |
38
b63b78017225
added date tags in view event template and open_feedback template is now a lil better .
nishanth
parents:
36
diff
changeset
|
25 |
<br /> |
14
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
26 |
{% if is_org %} |
75
bda9ee536063
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents:
68
diff
changeset
|
27 |
<a href="/workshop/registration/event/attendees/{{event.key}}">View list of people registered for the workshop</a> <br /> |
82 | 28 |
<a href="/workshop/feedback/list/{{event.key}}">View submitted feedbacks</a><br /> |
29 |
<a href="/workshop/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
|
30 |
{% if user.is_staff %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
31 |
{% if event.registration_is_open %} |
75
bda9ee536063
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents:
68
diff
changeset
|
32 |
<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
|
33 |
{% else %} |
75
bda9ee536063
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents:
68
diff
changeset
|
34 |
<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
|
35 |
{% endif %} |
36 | 36 |
<!-- |
26
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
37 |
{% ifequal event.quiz_status "00" %} |
75
bda9ee536063
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents:
68
diff
changeset
|
38 |
<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
|
39 |
{% else %} |
75
bda9ee536063
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents:
68
diff
changeset
|
40 |
<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
|
41 |
{% endifequal %} |
36 | 42 |
--> |
26
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
43 |
{% ifequal event.feedback_status "0" %} |
75
bda9ee536063
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents:
68
diff
changeset
|
44 |
<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
|
45 |
{% else %} |
75
bda9ee536063
changed the urls to /workshop/registration/.. from /reg/.. in all the templates
nishanth
parents:
68
diff
changeset
|
46 |
<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
|
47 |
{% endifequal %} |
14
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 |
{% endif %} |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
50 |
|
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
51 |
{% endblock %} |