diff --git a/templates/components/notepad/form.html.twig b/templates/components/notepad/form.html.twig index 5b84e55fa80..8fd008670d5 100644 --- a/templates/components/notepad/form.html.twig +++ b/templates/components/notepad/form.html.twig @@ -100,7 +100,11 @@ data-bs-toggle="collapse" data-bs-target="#{{ id }}" aria-expanded="false" aria-controls="{{ id }}"> - #{{ id }} + {% set title = '#' ~ note['id'] ~ ' - ' ~ note['date_creation']|formatted_datetime %} + {% if note['date_mod'] != note['date_creation'] %} + {% set title = title ~ ' (' ~ __('Last update on %s')|format(note['date_mod']|formatted_datetime) ~ ')' %} + {% endif %} + {{ title }}