From abc67769642a51d11c6855342f9075f89189bc7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= <git@rapsys.eu> Date: Sat, 28 Aug 2021 10:24:05 +0200 Subject: [PATCH] Add stop and hat infos Expand pseudonym without hat infos --- Resources/views/session/index.html.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Resources/views/session/index.html.twig b/Resources/views/session/index.html.twig index 0ac7d6a..9d6e2a6 100644 --- a/Resources/views/session/index.html.twig +++ b/Resources/views/session/index.html.twig @@ -21,9 +21,11 @@ {% endif %} <span title="{{ session.slottitle }}">{{ session.slot }}</span> </span> + <span>{{ session.stop|localizeddate('none', 'short') }}</span> {% if session.pseudonym is defined and session.pseudonym %} - <span class="reducible pseudonym">{{ session.pseudonym }}</span> + <span class="reducible{% if session.rate is not defined and session.hat is not defined %} pseudonym{% endif %}">{{ session.pseudonym }}</span> {% endif %} + {% if session.rate is defined %}<span class="info">{{ session.rate }} {% if session.hat is defined and session.hat %}ð©{% else %}â¬{% endif %}</span>{% endif %} </a> </li> {% endfor %} -- 2.41.3