project/templates/_menu_user.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Wed, 14 Jul 2010 19:17:31 +0530
changeset 100 2e17fbcee0c3
parent 96 178b89a3ca4f
child 118 78dfa383f6a3
permissions -rw-r--r--
Added back the deleted images. Had accidentally removed required images also.

<div id="menu-user">
    {% if user.is_authenticated %}
        {% if user.get_full_name %}
        <strong>{{ user.get_full_name }} &lt;{{ user.username }}&gt;</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>