diff --git a/counter/templates/counter/product_form.jinja b/counter/templates/counter/product_form.jinja index 00459b41..f3d3728c 100644 --- a/counter/templates/counter/product_form.jinja +++ b/counter/templates/counter/product_form.jinja @@ -3,6 +3,8 @@ {% block content %} {% if object %}

{% trans name=object %}Edit product {{ name }}{% endtrans %}

+

{% trans %}Creation date{% endtrans %} : {{ object.created_at|date }}

+

{% trans %}Last update{% endtrans %} : {{ object.updated_at|date }}

{% else %}

{% trans %}Product creation{% endtrans %}

{% endif %} diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 5bc10a16..cbbf7a53 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -1566,7 +1566,7 @@ msgstr "Visiteur" msgid "ban type" msgstr "type de ban" -#: core/models.py +#: core/models.py counter/models.py msgid "created at" msgstr "créé le" @@ -3109,6 +3109,10 @@ msgstr "groupe d'achat" msgid "archived" msgstr "archivé" +#: counter/models.py +msgid "updated at" +msgstr "mis à jour le" + #: counter/models.py msgid "product" msgstr "produit" @@ -3664,6 +3668,14 @@ msgstr "" msgid "Edit product %(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 +msgid "Last update" +msgstr "Dernière mise à jour" + #: counter/templates/counter/product_form.jinja msgid "Product creation" msgstr "Création de produit"