aboutsummaryrefslogtreecommitdiff
path: root/app/templates/base.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-17 23:26:36 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-17 23:26:36 +0100
commit57c43e7994d1615d4d9d0d6c062239cd721f0b7b (patch)
treeb41eb78c99ad195aecee9afa49d9b86ecd684e37 /app/templates/base.html
parent67f028f6fc4b599dd9760f5eaa5961f35d535ef8 (diff)
downloadcheatdb-57c43e7994d1615d4d9d0d6c062239cd721f0b7b.tar.xz
Move create and work queue to user drop down
Diffstat (limited to 'app/templates/base.html')
-rw-r--r--app/templates/base.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html
index 025bf82..504563e 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -41,6 +41,7 @@
<ul class="nav navbar-nav navbar-right">
{% if current_user.is_authenticated %}
<li><a href="{{ url_for('notifications_page') }}">({{ current_user.notifications | length }})</a></li>
+ <li><a href="{{ url_for('create_edit_package_page') }}">+</a></li>
<li class="dropdown">
<a href="{{ url_for('user_profile_page', username=current_user.username) }}"
class="dropdown-toggle"
@@ -53,6 +54,9 @@
<li>
<a href="{{ url_for('user_profile_page', username=current_user.username) }}">Profile</a>
</li>
+ {% if current_user.canAccessTodoList() %}
+ <li><a href="{{ url_for('todo_page') }}">Work Queue</a></li>
+ {% endif %}
{% if current_user.rank == current_user.rank.ADMIN %}
<li><a href="{{ url_for('admin_page') }}">Admin</a></li>
{% endif %}