mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-12-25 05:02:24 +00:00
Add find medium link in explore dropdown
This commit is contained in:
parent
a06ae5c9b9
commit
57659acc93
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user