show creation date on Product update page

This commit is contained in:
imperosol
2026-02-10 18:30:05 +01:00
parent 0eccb4a5b5
commit 43768171a1
2 changed files with 15 additions and 1 deletions

View File

@@ -3,6 +3,8 @@
{% 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>
<p><i>{% trans %}Last update{% endtrans %} : {{ object.updated_at|date }}</i></p>
{% else %}
<h2>{% trans %}Product creation{% endtrans %}</h2>
{% endif %}