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 %}
{% if object %}
<h2>{% trans name=object %}Edit product {{ name }}{% endtrans %}</h2>
<p><i>{% trans %}Creation date{% endtrans %} : {{ object.created_at|date }}</i></p>
{% else %}
<h2>{% trans %}Product creation{% endtrans %}</h2>
{% endif %}