author | primal primal007@gmail.com |
Sun, 04 Dec 2011 00:16:07 +0530 | |
branch | 2011 |
changeset 503 | 2fd1aa38924e |
parent 428 | d7fefdb4b947 |
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="/{{params.scope }}/account/">My profile</a> | {% if user.is_superuser %} <a href="/admin/">Administer</a> | {% endif %} <a href="/{{params.scope }}/logout/">Logout</a> {% else %} <a href="/{{params.scope }}/login/">Login</a> {% endif %} </div>