Show link to discover view

This commit is contained in:
Mouse Reeve 2021-08-08 08:07:20 -07:00
parent 2222c28305
commit 65fa2813c6
2 changed files with 8 additions and 3 deletions

View file

@ -67,8 +67,8 @@
<a href="{% url 'lists' %}" class="navbar-item">
{% trans "Lists" %}
</a>
<a href="{% url 'directory' %}" class="navbar-item">
{% trans "Directory" %}
<a href="{% url 'discover' %}" class="navbar-item">
{% trans "Discover" %}
</a>
{% endif %}
</div>
@ -89,6 +89,11 @@
<span class="ml-2">{{ request.user.display_name }}</span>
</a>
<ul class="navbar-dropdown" id="navbar-dropdown">
<li>
<a href="{% url 'directory' %}" class="navbar-item">
{% trans "Directory" %}
</a>
</li>
<li>
<a href="{% url 'user-shelves' request.user.localname %}" class="navbar-item">
{% trans 'Your Books' %}

View file

@ -162,7 +162,7 @@ urlpatterns = [
# landing pages
re_path(r"^about/?$", views.About.as_view(), name="about"),
path("", views.Home.as_view(), name="landing"),
re_path(r"^discover/?$", views.Discover.as_view()),
re_path(r"^discover/?$", views.Discover.as_view(), name="discover"),
re_path(r"^notifications/?$", views.Notifications.as_view(), name="notifications"),
re_path(
r"^notifications/(?P<notification_type>mentions)/?$",