Commit 57659acc authored by ynerant's avatar ynerant

Add find medium link in explore dropdown

parent a06ae5c9
Pipeline #4118 passed with stages
in 5 minutes
......@@ -11,5 +11,5 @@ app_name = 'media'
urlpatterns = [
url(r'^retour_emprunt/(?P<empruntid>[0-9]+)$', views.retour_emprunt,
name='retour-emprunt'),
path('find/', views.FindMediumView.as_view()),
path('find/', views.FindMediumView.as_view(), name="find"),
]
......@@ -30,6 +30,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<span class="dropdown">
<a href="{% url 'admin:index' %}">{% trans 'Explore database' %}</a>
<span class="dropdown-content">
<a href="{% url "media:find" %}">Recherche ...</a>
{% for app in available_apps %}
{% for model in app.models %}
{% if model.admin_url %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment