mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-11-26 21:27:11 +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 = [
|
urlpatterns = [
|
||||||
url(r'^retour_emprunt/(?P<empruntid>[0-9]+)$', views.retour_emprunt,
|
url(r'^retour_emprunt/(?P<empruntid>[0-9]+)$', views.retour_emprunt,
|
||||||
name='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">
|
<span class="dropdown">
|
||||||
<a href="{% url 'admin:index' %}">{% trans 'Explore database' %}</a>
|
<a href="{% url 'admin:index' %}">{% trans 'Explore database' %}</a>
|
||||||
<span class="dropdown-content">
|
<span class="dropdown-content">
|
||||||
|
<a href="{% url "media:find" %}">Recherche ...</a>
|
||||||
{% for app in available_apps %}
|
{% for app in available_apps %}
|
||||||
{% for model in app.models %}
|
{% for model in app.models %}
|
||||||
{% if model.admin_url %}
|
{% if model.admin_url %}
|
||||||
|
Loading…
Reference in New Issue
Block a user