show creation date on Product update page

This commit is contained in:
imperosol
2026-02-10 18:30:05 +01:00
parent bf08cc3288
commit 94d2f8ce44
2 changed files with 15 additions and 6 deletions

View File

@@ -3,6 +3,7 @@
{% block content %} {% block content %}
{% if object %} {% if object %}
<h2>{% trans name=object %}Edit product {{ name }}{% endtrans %}</h2> <h2>{% trans name=object %}Edit product {{ name }}{% endtrans %}</h2>
<p><i>{% trans %}Creation date{% endtrans %} : {{ object.created_at|date }}</i></p>
{% else %} {% else %}
<h2>{% trans %}Product creation{% endtrans %}</h2> <h2>{% trans %}Product creation{% endtrans %}</h2>
{% endif %} {% endif %}

View File

@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-08 16:14+0100\n" "POT-Creation-Date: 2026-02-10 18:28+0100\n"
"PO-Revision-Date: 2016-07-18\n" "PO-Revision-Date: 2016-07-18\n"
"Last-Translator: Maréchal <thomas.girod@utbm.fr\n" "Last-Translator: Maréchal <thomas.girod@utbm.fr\n"
"Language-Team: AE info <ae.info@utbm.fr>\n" "Language-Team: AE info <ae.info@utbm.fr>\n"
@@ -1566,7 +1566,7 @@ msgstr "Visiteur"
msgid "ban type" msgid "ban type"
msgstr "type de ban" msgstr "type de ban"
#: core/models.py #: core/models.py counter/models.py
msgid "created at" msgid "created at"
msgstr "créé le" msgstr "créé le"
@@ -3109,6 +3109,10 @@ msgstr "groupe d'achat"
msgid "archived" msgid "archived"
msgstr "archivé" msgstr "archivé"
#: counter/models.py
msgid "updated at"
msgstr "mis à jour le"
#: counter/models.py #: counter/models.py
msgid "product" msgid "product"
msgstr "produit" msgstr "produit"
@@ -3664,6 +3668,10 @@ msgstr ""
msgid "Edit product %(name)s" msgid "Edit product %(name)s"
msgstr "Édition du produit %(name)s" msgstr "Édition du produit %(name)s"
#: counter/templates/counter/product_form.jinja
msgid "Creation date"
msgstr "Date de création"
#: counter/templates/counter/product_form.jinja #: counter/templates/counter/product_form.jinja
msgid "Product creation" msgid "Product creation"
msgstr "Création de produit" msgstr "Création de produit"
@@ -3951,8 +3959,8 @@ msgid ""
"inconvenience." "inconvenience."
msgstr "" msgstr ""
"Les paiements par carte bancaire sont actuellement désactivés sur l'eboutic. " "Les paiements par carte bancaire sont actuellement désactivés sur l'eboutic. "
"Vous pouvez cependant toujours recharger votre compte dans un des lieux de vie de l'AE. " "Vous pouvez cependant toujours recharger votre compte dans un des lieux de "
"Veuillez nous excuser pour le désagrément." "vie de l'AE. Veuillez nous excuser pour le désagrément."
#: eboutic/templates/eboutic/eboutic_checkout.jinja #: eboutic/templates/eboutic/eboutic_checkout.jinja
msgid "" msgid ""
@@ -4121,8 +4129,8 @@ msgstr "Les candidatures sont fermées pour cette élection"
#: election/templates/election/election_detail.jinja #: election/templates/election/election_detail.jinja
msgid "Candidate pictures won't display for privacy reasons." msgid "Candidate pictures won't display for privacy reasons."
msgstr "" msgstr ""
"La photo du candidat ne s'affiche pas pour " "La photo du candidat ne s'affiche pas pour des raisons de respect de la vie "
"des raisons de respect de la vie privée." "privée."
#: election/templates/election/election_detail.jinja #: election/templates/election/election_detail.jinja
msgid "Polls close " msgid "Polls close "