diff --git a/assets/styles/tailmater.css b/assets/styles/tailmater.css index de34a36a..422d8307 100644 --- a/assets/styles/tailmater.css +++ b/assets/styles/tailmater.css @@ -1143,4 +1143,18 @@ trix-editor ol, .editor-output ol, ol.initial { #client_request #back a { @apply mb-5; +} + +ol.item-history { + @apply text-sm card-outlined w-full max-w-2xl; + list-style: decimal; + list-style-position: outside; +} + +ol.item-history li { + @apply mb-1 pl-1 ml-4; +} + +ol.item-history li:last-of-type { + @apply mb-0; } \ No newline at end of file diff --git a/templates/tom/__history.html.twig b/templates/tom/__history.html.twig index e729d895..eda4aad5 100644 --- a/templates/tom/__history.html.twig +++ b/templates/tom/__history.html.twig @@ -1,5 +1,9 @@ {% trans_default_domain 'tom' %} -{{ p.createdAt|date('d.m.Y H:i') }} -- {{ p.titel }}-- {{ p.user.email }} {{ p.approved?'versionApproved' |trans([], 'general') }} +
{% trans from 'general' %}createdBy{% endtrans %}: {{ tom.user.email }}
{% if tom.previous %} -