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 |
{% if not user.is_authenticated %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
4 |
Welcome Guest.<br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
5 |
<br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
6 |
You can know about workshops by clicking on workshops link on the left.<br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
7 |
{% else %} |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
8 |
Welcome {{user.get_full_name}}<br /> |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
9 |
<br />Workshops you have registered for: |
9d18daf5277f
now the "you must register" link appears on view event page .
nishanth
parents:
19
diff
changeset
|
10 |
{% endif %} |
18
7dae32a2439b
prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
14
diff
changeset
|
11 |
{% if user.is_staff %} |
7dae32a2439b
prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
14
diff
changeset
|
12 |
<a href="/reg/event/create">Create an event</a><br /> |
7dae32a2439b
prettified the home page and moved workshops to another page called workshops.
nishanth
parents:
14
diff
changeset
|
13 |
{% endif %} |
14
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
14 |
{% endblock %} |