templates/base.html
author nishanth
Mon, 12 Apr 2010 13:53:57 +0530
changeset 15 b06f0fefbd20
parent 14 cd6911eaac2c
child 16 bef53aaf9085
permissions -rw-r--r--
fixed a bug in register user view .
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
<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>
15
b06f0fefbd20 fixed a bug in register user view .
nishanth
parents: 14
diff changeset
     9
<a href="/reg">Home</a> |
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    10
{% if user.is_authenticated %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    11
	Welcome {{user.get_full_name}} | 
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    12
	<a href="/reg/profile/edit">My Profile</a> |
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    13
	<a href="/reg/logout">Logout</a>
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    14
{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    15
	<a href="/reg/login/">Login</a> |
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    16
	<a href="/reg/register/">Register</a>
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    17
{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    18
<br />
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    19
{% block content %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    20
{% endblock %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    21
</body>
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    22
</html>