author | Madhusudan.C.S <madhusudancs@gmail.com> |
Wed, 14 Jul 2010 19:34:34 +0530 | |
changeset 102 | 68fb7911c438 |
parent 96 | 178b89a3ca4f |
child 118 | 78dfa383f6a3 |
permissions | -rw-r--r-- |
<div id="menu-user"> {% if user.is_authenticated %} {% if user.get_full_name %} <strong>{{ user.get_full_name }} <{{ user.username }}></strong> {% else %} <strong>{{ user.username }}</strong> {% endif %} | <a href="{% url scipycon_account %}">My profile</a> | {% if user.is_superuser %} <a href="/admin/">Administer</a> | {% endif %} <a href="{% url scipycon_logout %}">Logout</a> {% else %} <a href="{% url scipycon_login %}">Login</a> {% endif %} </div>