From a61eb851dc00792e73323f5dfd33c83e04ea791e Mon Sep 17 00:00:00 2001 From: Laouen Fernet Date: Tue, 14 Nov 2017 22:23:39 +0100 Subject: [PATCH] Fix #28 : ajouter paginator en bas de page --- cotisations/templates/cotisations/aff_cotisations.html | 4 ++++ cotisations/templates/cotisations/control.html | 3 +++ logs/templates/logs/aff_stats_logs.html | 4 ++++ logs/templates/logs/aff_summary.html | 4 +++- machines/templates/machines/aff_machines.html | 3 +++ topologie/templates/topologie/aff_chambres.html | 4 ++++ topologie/templates/topologie/aff_constructor_switch.html | 4 ++++ topologie/templates/topologie/aff_model_switch.html | 4 ++++ topologie/templates/topologie/aff_switch.html | 4 ++++ users/templates/users/aff_bans.html | 3 +++ users/templates/users/aff_clubs.html | 3 +++ users/templates/users/aff_users.html | 3 +++ users/templates/users/aff_whitelists.html | 3 +++ 13 files changed, 45 insertions(+), 1 deletion(-) diff --git a/cotisations/templates/cotisations/aff_cotisations.html b/cotisations/templates/cotisations/aff_cotisations.html index 7a4d5e31..34efd63d 100644 --- a/cotisations/templates/cotisations/aff_cotisations.html +++ b/cotisations/templates/cotisations/aff_cotisations.html @@ -80,3 +80,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} +{% if facture_list.paginator %} +{% include "pagination.html" with list=facture_list %} +{% endif %} + diff --git a/cotisations/templates/cotisations/control.html b/cotisations/templates/cotisations/control.html index 6e9ccbc5..baa4938e 100644 --- a/cotisations/templates/cotisations/control.html +++ b/cotisations/templates/cotisations/control.html @@ -78,3 +78,6 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endblock %} +{% if facture_list.paginator %} +{% include "pagination.html" with list=facture_list %} +{% endif %} diff --git a/logs/templates/logs/aff_stats_logs.html b/logs/templates/logs/aff_stats_logs.html index 71efb147..08178a38 100644 --- a/logs/templates/logs/aff_stats_logs.html +++ b/logs/templates/logs/aff_stats_logs.html @@ -59,3 +59,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} {% endfor %} + +{% if revisions_list.paginator %} +{% include "pagination.html" with list=revisions_list %} +{% endif %} diff --git a/logs/templates/logs/aff_summary.html b/logs/templates/logs/aff_summary.html index 4fb5c8b1..65f71aca 100644 --- a/logs/templates/logs/aff_summary.html +++ b/logs/templates/logs/aff_summary.html @@ -144,4 +144,6 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} - +{% if versions_list.paginator %} +{% include "pagination.html" with list=versions_list %} +{% endif %} diff --git a/machines/templates/machines/aff_machines.html b/machines/templates/machines/aff_machines.html index b59bdc23..63d35241 100644 --- a/machines/templates/machines/aff_machines.html +++ b/machines/templates/machines/aff_machines.html @@ -126,3 +126,6 @@ with this program; if not, write to the Free Software Foundation, Inc., +{% if machines_list.paginator %} +{% include "pagination.html" with list=machines_list %} +{% endif %} diff --git a/topologie/templates/topologie/aff_chambres.html b/topologie/templates/topologie/aff_chambres.html index 252ff808..5e488606 100644 --- a/topologie/templates/topologie/aff_chambres.html +++ b/topologie/templates/topologie/aff_chambres.html @@ -54,3 +54,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} + +{% if room_list.paginator %} +{% include "pagination.html" with list=room_list %} +{% endif %} diff --git a/topologie/templates/topologie/aff_constructor_switch.html b/topologie/templates/topologie/aff_constructor_switch.html index 02002f6c..94d63b39 100644 --- a/topologie/templates/topologie/aff_constructor_switch.html +++ b/topologie/templates/topologie/aff_constructor_switch.html @@ -52,3 +52,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} + +{% if constructor_switch_list.paginator %} +{% include "pagination.html" with list=constructor_switch_list %} +{% endif %} diff --git a/topologie/templates/topologie/aff_model_switch.html b/topologie/templates/topologie/aff_model_switch.html index 2e84fb69..97e45fcd 100644 --- a/topologie/templates/topologie/aff_model_switch.html +++ b/topologie/templates/topologie/aff_model_switch.html @@ -54,3 +54,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} + +{% if model_switch_list.paginator %} +{% include "pagination.html" with list=model_switch_list %} +{% endif %} diff --git a/topologie/templates/topologie/aff_switch.html b/topologie/templates/topologie/aff_switch.html index 25f466e8..e1e818a1 100644 --- a/topologie/templates/topologie/aff_switch.html +++ b/topologie/templates/topologie/aff_switch.html @@ -65,3 +65,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} + +{% if switch_list.paginator %} +{% include "pagination.html" with list=switch_list %} +{% endif %} diff --git a/users/templates/users/aff_bans.html b/users/templates/users/aff_bans.html index 78834123..dff72aa2 100644 --- a/users/templates/users/aff_bans.html +++ b/users/templates/users/aff_bans.html @@ -56,3 +56,6 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} +{% if ban_list.paginator %} +{% include "pagination.html" with list=ban_list %} +{% endif %} diff --git a/users/templates/users/aff_clubs.html b/users/templates/users/aff_clubs.html index cb9f5f95..0287e8a5 100644 --- a/users/templates/users/aff_clubs.html +++ b/users/templates/users/aff_clubs.html @@ -55,3 +55,6 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} +{% if clubs_list.paginator %} +{% include "pagination.html" with list=clubs_list %} +{% endif %} diff --git a/users/templates/users/aff_users.html b/users/templates/users/aff_users.html index 1015d94d..22f9a8dd 100644 --- a/users/templates/users/aff_users.html +++ b/users/templates/users/aff_users.html @@ -57,3 +57,6 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} +{% if users_list.paginator %} +{% include "pagination.html" with list=users_list %} +{% endif %} diff --git a/users/templates/users/aff_whitelists.html b/users/templates/users/aff_whitelists.html index 07d434c0..d86d356b 100644 --- a/users/templates/users/aff_whitelists.html +++ b/users/templates/users/aff_whitelists.html @@ -56,3 +56,6 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endfor %} +{% if white_list.paginator %} +{% include "pagination.html" with list=white_list %} +{% endif %}