]> Raphaël G. Git Repositories - airbundle/blobdiff - Resources/views/session/index.html.twig
Move index to DefaultController::userIndex
[airbundle] / Resources / views / session / index.html.twig
index 0ac7d6a3dc396242f46b48afc06e2abf8a831a4f..9d6e2a6a33f73949e75714385e3ea65d3c2eb27a 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 %}