equal
deleted
inserted
replaced
|
1 <div id="menu-user"> |
|
2 {% if user.is_authenticated %} |
|
3 {% if user.get_full_name %} |
|
4 <strong>{{ user.get_full_name }} <{{ user.username }}></strong> |
|
5 {% else %} |
|
6 <strong>{{ user.username }}</strong> |
|
7 {% endif %} | |
|
8 |
|
9 <a href="{% url kiwipycon_account %}">My profile</a> | |
|
10 |
|
11 {% if user.is_superuser %} |
|
12 <a href="/admin/">Administer</a> | |
|
13 {% endif %} |
|
14 |
|
15 <a href="{% url kiwipycon_logout %}">Logout</a> |
|
16 {% else %} |
|
17 <a href="{% url kiwipycon_login %}">Login</a> |
|
18 {% endif %} |
|
19 </div> |