]> Raphaël G. Git Repositories - airbundle/commitdiff
Add stop and hat infos
authorRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:18:50 +0000 (10:18 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:18:50 +0000 (10:18 +0200)
Expand pseudonym without had infos

Resources/views/location/view.html.twig

index a3f28a70b7346e7d06c104dbbb8dffaf42fd6e33..4c5508b84b2522e9ebfe2f9f8d6831c43798c1aa 100644 (file)
                                                                                                        {% endif %}
                                                                                                        <span title="{{ session.slottitle }}">{{ session.slot }}</span>
                                                                                                </span>
                                                                                                        {% endif %}
                                                                                                        <span title="{{ session.slottitle }}">{{ session.slot }}</span>
                                                                                                </span>
+                                                                                               <span>{{ session.stop|localizeddate('none', 'short') }}</span>
                                                                                                {% if session.pseudonym is defined and session.pseudonym %}
                                                                                                {% 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 %}
                                                                                                {% 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 %}
                                                                                        </a>
                                                                                </li>
                                                                        {% endfor %}