From 5e366bec326f89e291bf0caed73cb626da2cece1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 23 Jul 2022 21:47:30 +0200 Subject: [PATCH] Show datetime in flash notices in white, if background is dark. This highly increases readability of the datetime for most flashes. --- templates/_flash.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/_flash.html.twig b/templates/_flash.html.twig index b51b28e3..633477b4 100644 --- a/templates/_flash.html.twig +++ b/templates/_flash.html.twig @@ -17,13 +17,13 @@ {# ...#} {{ flash_title|trans }} - {{ "now" | format_datetime("short", "short") }} + {{ "now" | format_datetime("short", "short") }}
- {{ message | trans}} + {{ message | trans }}
{% endfor %}