mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-22 22:38:23 +02:00
Change media permissions
This commit is contained in:
@ -46,9 +46,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
<td>{{ jeu.nombre_joueurs_min }}</td>
|
||||
<td>{{ jeu.nombre_joueurs_max }}</td>
|
||||
<td>{{ jeu.comment }}</td>
|
||||
<td>{% if is_perm %}{% include 'buttons/edit.html' with href='media:edit-jeu' id=jeu.id %}
|
||||
{% include 'buttons/suppr.html' with href='media:del-jeu' id=jeu.id %}{% endif %}
|
||||
{% include 'buttons/history.html' with href='media:history' name='jeu' id=jeu.id %}</td>
|
||||
<td>
|
||||
{% if is_perm %}
|
||||
<a class="btn btn-primary btn-sm" role="button" title="Éditer"
|
||||
href="{% url 'media:edit-jeu' jeu.id %}">
|
||||
<i class="glyphicon glyphicon-edit"></i>
|
||||
</a>
|
||||
<a class="btn btn-danger btn-sm" role="button" href="{% url 'media:del-jeu' jeu.id %}"
|
||||
title="Supprimer">
|
||||
<i class="glyphicon glyphicon-trash"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user