mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-30 05:51:09 +02:00
Simple library views
This commit is contained in:
@ -15,7 +15,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<th>Joueurs min</th>
|
||||
<th>Joueurs max</th>
|
||||
<th>Comment</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for jeu in jeux_list %}
|
||||
@ -26,18 +25,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<td>{{ jeu.nombre_joueurs_min }}</td>
|
||||
<td>{{ jeu.nombre_joueurs_max }}</td>
|
||||
<td>{{ jeu.comment }}</td>
|
||||
<td>
|
||||
{% if perms.media.change_jeu %}
|
||||
<a class="btn btn-primary btn-sm" href="{% url 'media:edit-jeu' jeu.id %}">
|
||||
Éditer
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if perms.media.delete_jeu %}
|
||||
<a class="btn btn-danger btn-sm" href="{% url 'media:del-jeu' jeu.id %}">
|
||||
Supprimer
|
||||
</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user