From 4fa8ef4b56fc9c85a67574f9f583ef64a6488068 Mon Sep 17 00:00:00 2001 From: ikea Date: Wed, 6 Aug 2025 08:20:43 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20pop-up=20de=20validation=20de?= =?UTF-8?q?=20d=C3=A9fi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/family/tables.py | 2 +- apps/family/templates/family/manage.html | 34 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/apps/family/tables.py b/apps/family/tables.py index 0a0b773a..460a2e5c 100644 --- a/apps/family/tables.py +++ b/apps/family/tables.py @@ -116,7 +116,7 @@ class FamilyAchievementTable(tables.Table): class Meta: model = Achievement template_name = 'django_tables2/bootstrap4.html' - fields = ('challenge', 'challenge__points', 'obtained_at',) + fields = ('challenge', 'challenge__points', 'obtained_at', 'valid') attrs = { 'class': 'table table-condensed table-striped table-hover' } diff --git a/apps/family/templates/family/manage.html b/apps/family/templates/family/manage.html index 22a4ed90..b284ffff 100644 --- a/apps/family/templates/family/manage.html +++ b/apps/family/templates/family/manage.html @@ -159,6 +159,34 @@ SPDX-License-Identifier: GPL-3.0-or-later {% render_table table %} + + + + {% endblock %} @@ -178,4 +206,10 @@ SPDX-License-Identifier: GPL-3.0-or-later }); {% endfor %} + + {% endblock %} \ No newline at end of file