From a5fc8c20f2a5ff7762afc5f30c4b9527bc978409 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Wed, 16 Sep 2020 01:27:24 +0200 Subject: [PATCH] =?UTF-8?q?Page=20des=20anniversaires,=20il=20faudra=20imp?= =?UTF-8?q?l=C3=A9menter=20une=20m=C3=A9thode=20`age`=20pour=20obtenir=20l?= =?UTF-8?q?'age=20d'un=20profil=20=C3=A0=20son=20prochain=20anniversaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fiches/templates/fiches/birthday.html | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/fiches/templates/fiches/birthday.html b/fiches/templates/fiches/birthday.html index 9f0c95b..dcdab5f 100644 --- a/fiches/templates/fiches/birthday.html +++ b/fiches/templates/fiches/birthday.html @@ -1,16 +1,23 @@ {% extends "fiches/base.html" %} +{% load i18n %} + {% block content %} -

Anniversaires

-
- -
+
+

{% trans "Anniversaires" %}

+ +
+
    + {% for profile in result %} +
  • + {{ profile.full_name }} : {{ profile.birth_date|date:"j F" }} + ({{ profile.age }} {% trans "ans" %}) +
  • + {% endfor %} +
+
+
-{% endblock %} \ No newline at end of file +{% endblock %}