forked from mirrors/bookwyrm
Link to dashboard from menu
This commit is contained in:
parent
bc179ab90f
commit
fc69729f93
3 changed files with 3 additions and 3 deletions
|
@ -121,7 +121,7 @@
|
|||
{% endif %}
|
||||
{% if perms.bookwyrm.moderate_user %}
|
||||
<li>
|
||||
<a href="{% url 'settings-users' %}" class="navbar-item">
|
||||
<a href="{% url 'settings-dashboard' %}" class="navbar-item">
|
||||
{% trans 'Admin' %}
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<div class="block columns">
|
||||
<nav class="menu column is-one-quarter">
|
||||
<h2 class="menu-label">
|
||||
{% url 'dashboard' as url %}
|
||||
{% url 'settings-dashboard' as url %}
|
||||
<a
|
||||
href="{{ url }}"
|
||||
{% if url in request.path %} class="is-active" aria-selected="true"{% endif %}
|
||||
|
|
|
@ -65,7 +65,7 @@ urlpatterns = [
|
|||
r"^password-reset/(?P<code>[A-Za-z0-9]+)/?$", views.PasswordReset.as_view()
|
||||
),
|
||||
# admin
|
||||
re_path(r"^settings/dashboard/?$", views.Dashboard.as_view(), name="dashboard"),
|
||||
re_path(r"^settings/dashboard/?$", views.Dashboard.as_view(), name="settings-dashboard"),
|
||||
re_path(r"^settings/site-settings/?$", views.Site.as_view(), name="settings-site"),
|
||||
re_path(
|
||||
r"^settings/announcements/?$",
|
||||
|
|
Loading…
Reference in a new issue