project/templates/_menu_user.html
changeset 96 178b89a3ca4f
parent 1 fda1c66b25f9
child 118 78dfa383f6a3
equal deleted inserted replaced
95:f94e0cd9a862 96:178b89a3ca4f
     4         <strong>{{ user.get_full_name }} &lt;{{ user.username }}&gt;</strong>
     4         <strong>{{ user.get_full_name }} &lt;{{ user.username }}&gt;</strong>
     5         {% else %}
     5         {% else %}
     6             <strong>{{ user.username }}</strong>
     6             <strong>{{ user.username }}</strong>
     7         {% endif %} |
     7         {% endif %} |
     8 
     8 
     9         <a href="{% url kiwipycon_account %}">My profile</a> |
     9         <a href="{% url scipycon_account %}">My profile</a> |
    10 
    10 
    11         {% if user.is_superuser %}
    11         {% if user.is_superuser %}
    12                 <a href="/admin/">Administer</a> |
    12                 <a href="/admin/">Administer</a> |
    13         {% endif %}
    13         {% endif %}
    14 
    14 
    15         <a href="{% url kiwipycon_logout %}">Logout</a>
    15         <a href="{% url scipycon_logout %}">Logout</a>
    16     {% else %}
    16     {% else %}
    17         <a href="{% url kiwipycon_login %}">Login</a>
    17         <a href="{% url scipycon_login %}">Login</a>
    18     {% endif %}
    18     {% endif %}
    19 </div>
    19 </div>