1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-06-21 03:18:23 +02:00

Simple library views

This commit is contained in:
Alexandre Iooss
2019-08-08 21:08:24 +02:00
parent 9f52bed890
commit 0c504e85fc
15 changed files with 49 additions and 293 deletions

View File

@ -26,7 +26,15 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% endblock %}
{% block userlinks %}
{# Link to our apps outside of admin #}
<a href="{% url "media:index" %}">{% trans 'Library' %}</a> /
<span class="dropdown">
<a href="{% url 'media:index' %}">{% trans 'Library' %}</a>
<span class="dropdown-content">
<a href="{% url "media:index" %}">Emprunts</a>
<a href="{% url "media:index-auteurs" %}">Auteurs</a>
<a href="{% url "media:index-medias" %}">Medias</a>
<a href="{% url "media:index-jeux" %}">Jeux</a>
</span>
</span> /
{% if user.is_authenticated %}
{% if perms.users.add_user %}