project/templates/_menu_user.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 05 Nov 2009 03:48:50 +0530
changeset 10 6bb24e2e6d9c
parent 1 fda1c66b25f9
child 96 178b89a3ca4f
permissions -rw-r--r--
Changed Jarrod's link with his name in the organizers section.

<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 kiwipycon_account %}">My profile</a> |

        {% if user.is_superuser %}
                <a href="/admin/">Administer</a> |
        {% endif %}

        <a href="{% url kiwipycon_logout %}">Logout</a>
    {% else %}
        <a href="{% url kiwipycon_login %}">Login</a>
    {% endif %}
</div>