]> Raphaël G. Git Repositories - airbundle/blobdiff - Resources/views/user/view.html.twig
Php strict
[airbundle] / Resources / views / user / view.html.twig
index 0a183f45d308115a16cb86a8e79088e8296b7da5..5c652e33e4263e359716e0ff5f8edf1d4faeb2a8 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">{% if session.hat is defined and session.hat %}🎩{% else %}{{ session.rate }} €{% endif %}</span>{% endif %}
                                                                                        </a>
                                                                                </li>
                                                                        {% endfor %}
                                                                                        </a>
                                                                                </li>
                                                                        {% endfor %}