author | nishanth |
Tue, 13 Apr 2010 14:50:48 +0530 | |
changeset 26 | 9d18daf5277f |
parent 19 | 115860e87238 |
child 34 | c12a0b773720 |
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 /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
5 |
{{event.description|linebreaksbr}}<br /><br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
6 |
<b>Duration:</b> {{event.start_date|date:"d M Y"}} to {{event.stop_date|date:"d M Y"}}<br /><br /> |
18
7dae32a2439b
prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
14
diff
changeset
|
7 |
|
26
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
8 |
{% if user.is_authenticated %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
9 |
{% if event.registration_is_open %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
10 |
{% if is_attendee %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
11 |
You have registered for this workshop. |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
12 |
{% else %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
13 |
<a href="/reg/event/register/{{event.key}}">Register for the workshop.</a><br /> |
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 %} |
26
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
16 |
Registration for this workshop is not open at this moment. |
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 %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
19 |
You must be a registered user to register for this workshop. |
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 %} |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
23 |
<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
|
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 |
{% if is_org %} |
19 | 27 |
<a href="/reg/event/attendees/{{event.key}}">Click here</a> to view list of people registered for the workshop. <br /> |
26
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
28 |
{% if user.is_staff %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
29 |
{% if event.registration_is_open %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
30 |
<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
31 |
{% else %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
32 |
<a href="/reg/event/registration/open/{{event.key}}">Click here</a> to open the registration.<br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
33 |
{% endif %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
34 |
|
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
35 |
{% ifequal event.quiz_status "00" %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
36 |
<a href="/reg/event/quiz/open/{{event.key}}">Click here</a> to open quiz.<br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
37 |
{% else %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
38 |
<a href="/reg/event/registration/close/{{event.key}}">Click here</a> to close the registration.<br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
39 |
{% endifequal %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
40 |
|
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
41 |
{% ifequal event.feedback_status "0" %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
42 |
<a href="/reg/event/feedback/open/{{event.key}}">Click here</a> to open the feedback.<br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
43 |
{% else %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
44 |
<a href="/feedback/list/{{event.key}}">Click here</a> to see the feedbacks that we submitted.<br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
45 |
<a href="/reg/event/feedback/close/{{event.key}}">Click here</a> to close the feedback for day {{event.feedback_status}}.<br /> |
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 %} |