mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-21 01:58:21 +02:00
Add paginator et model pour les jeux
This commit is contained in:
@ -22,6 +22,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
{% endcomment %}
|
||||
|
||||
{% if emprunts_list.paginator %}
|
||||
{% include "pagination.html" with list=emprunts_list %}
|
||||
{% endif %}
|
||||
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -38,7 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
{% for media in medias_list %}
|
||||
<tr>
|
||||
<td>{{ media.titre }}</td>
|
||||
<td>{{ media.auteur }}</td>
|
||||
<td>{% for aut in media.auteur.all %}{{ aut }}, {% endfor %}</td>
|
||||
<td>{{ media.cote }}</td>
|
||||
<td>{% include 'buttons/edit.html' with href='media:edit-media' id=media.id %}
|
||||
{% include 'buttons/suppr.html' with href='media:del-media' id=media.id %}
|
||||
|
Reference in New Issue
Block a user