diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-30 10:34:01 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-30 10:34:01 +0300 |
commit | 9dcc51f2211385239b0272bdbf2466637c874f35 (patch) | |
tree | 8ac9104abcfa817dc1092e5f338b8c90b4b8aaff /servo/templates/default.html | |
parent | 467f9fef717cbdc217aae63fef6481150e8e34a7 (diff) | |
download | Servo-9dcc51f2211385239b0272bdbf2466637c874f35.tar.gz Servo-9dcc51f2211385239b0272bdbf2466637c874f35.tar.bz2 Servo-9dcc51f2211385239b0272bdbf2466637c874f35.zip |
Check-in fixes and improvements
Diffstat (limited to 'servo/templates/default.html')
-rwxr-xr-x | servo/templates/default.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/servo/templates/default.html b/servo/templates/default.html index 15de430..d770655 100755 --- a/servo/templates/default.html +++ b/servo/templates/default.html @@ -64,19 +64,13 @@ </a> {% with request.user as user %} <ul class="dropdown-menu"> - <li><a href="#"><i class="icon-user"></i> {{ request.user.get_name }}</a></li> + <li><a href="{% url 'accounts-list_orders' %}"><i class="icon-user"></i> {{ user.get_name }}</a></li> <li class="divider"></li> - <li><a href="{% url 'accounts-list_orders' %}"><i class="icon-home"></i> {% trans "Homepage" %}</a></li> - <li><a href="{% url 'accounts-settings' %}"><i class="icon-wrench"></i> {% trans "Profile" %}</a></li> - {% if request.user.is_staff %} + {% if user.is_staff %} <li><a href="{% url 'admin-settings' %}"><i class="icon-cog"></i> {% trans "System Settings" %}</a></li> {% endif %} <li class="divider"></li> - {% if show_checkin %} <li><a href="{% url 'checkin-index' %}"><i class="icon-check"></i> {% trans "Go to check-in" %}</a></li> - {% else %} - <li class="disabled"><a href="#"><i class="icon-check"></i> {% trans "Go to check-in" %}</a></li> - {% endif %} <li><a href="{% url 'accounts-logout' %}" data-modal="#modal"><i class="icon-off"></i> {% trans "Log out" %}...</a></li> </ul> {% endwith %} |