author | nishanth |
Mon, 12 Apr 2010 13:49:00 +0530 | |
changeset 14 | cd6911eaac2c |
child 15 | b06f0fefbd20 |
permissions | -rw-r--r-- |
14
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
1 |
<html> |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
2 |
<head> |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
3 |
<title> |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
4 |
{% block title %} |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
5 |
Workshop App |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
6 |
{% endblock %} |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
7 |
</title></head> |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
8 |
<body> |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
9 |
{% if user.is_authenticated %} |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
10 |
Welcome {{user.get_full_name}} | |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
11 |
<a href="/reg/profile/edit">My Profile</a> | |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
12 |
<a href="/reg/logout">Logout</a> |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
13 |
{% else %} |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
14 |
<a href="/reg/login/">Login</a> | |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
15 |
<a href="/reg/register/">Register</a> |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
16 |
{% endif %} |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
17 |
<br /> |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
18 |
{% block content %} |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
19 |
{% endblock %} |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
20 |
</body> |
cd6911eaac2c
moved templates into templates directory and added user in context .
nishanth
parents:
diff
changeset
|
21 |
</html> |