]> Raphaël G. Git Repositories - airbundle/commitdiff
Add locked field 0.1.6
authorRaphaël Gertz <git@rapsys.eu>
Wed, 9 Dec 2020 20:50:47 +0000 (21:50 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 9 Dec 2020 20:50:47 +0000 (21:50 +0100)
Resources/views/session/view.html.twig

index c3367b4cae651f2a4facc739d2e55422c6910198..52139cf9536481c0155ffc0bc211b889aeac1df4 100644 (file)
                                                {% endif %}
                                        </dd>
                                </dl>
+                               <dl>
+                                       <dt>TODO: text organisateur</dt>
+                                       <dd>TODO: text organisateur</dd>
+                               </dl>
                        </section>
                        <section class="cell">
                                <h3>{% trans %}Schedule{% endtrans %}</h3>
                                        <dt>{% trans %}Length{% endtrans %}</dt>
                                        <dd>{{ session.length.format('H:i:s') }}</dd>
                                </dl>
+                               <dl>
+                                       <dt>{% trans %}Locked{% endtrans %}</dt>
+                                       <dd>
+                                               {% if session.locked is null %}
+                                                       {% trans %}None{% endtrans %}
+                                               {% else %}
+                                                       {{ session.locked.format('Y-m-d H:i:s') }}
+                                               {% endif %}
+                                       </dd>
+                               </dl>
                                <dl>
                                        <dt>{% trans %}Created{% endtrans %}</dt>
                                        <dd>{{ session.created.format('Y-m-d H:i:s') }}</dd>