Add links to topic lists in user dropdown
This commit is contained in:
parent
09150a4dbb
commit
272be09ba1
@ -71,10 +71,16 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ url_for('user_profile_page', username=current_user.username) }}">Profile</a>
|
||||
</li class="nav-item">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ url_for('user_profile_page', username=current_user.username) }}#unadded-packages">Your unadded topics</a>
|
||||
</li class="nav-item">
|
||||
{% if current_user.canAccessTodoList() %}
|
||||
<li class="nav-item"><a class="nav-link" href="{{ url_for('todo_page') }}">Work Queue</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="{{ url_for('user_list_page') }}">User list</a></li>
|
||||
{% endif %}
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ url_for('todo_topics_page') }}">All unadded topics</a>
|
||||
</li class="nav-item">
|
||||
{% if current_user.rank == current_user.rank.ADMIN %}
|
||||
<li class="nav-item"><a class="nav-link" href="{{ url_for('admin_page') }}">Admin</a></li>
|
||||
{% endif %}
|
||||
|
@ -130,6 +130,7 @@
|
||||
|
||||
{% if topics_to_add %}
|
||||
<div class="card mt-3">
|
||||
<a name="unadded-packages"></a>
|
||||
<h2 class="card-header">Unadded Packages</h2>
|
||||
|
||||
<p class="card-body">
|
||||
|
Loading…
x
Reference in New Issue
Block a user