From: Raphaƫl Gertz Date: Tue, 8 Dec 2020 00:42:53 +0000 (+0100) Subject: Add weather and slot glyphs X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/f3dfacbe6f7b850b43fc1fed423fa4eb665529f2 Add weather and slot glyphs Improve locations section --- diff --git a/Resources/views/location/view.html.twig b/Resources/views/location/view.html.twig index 6920fee..dcff401 100644 --- a/Resources/views/location/view.html.twig +++ b/Resources/views/location/view.html.twig @@ -13,6 +13,10 @@ {% for session in day.sessions %}
  • {{ session.title }} + + {% if session.weather is defined and session.weather %}{{ session.weather }}{% endif %} + {{ session.slot }} +
  • {% endfor %} @@ -27,13 +31,16 @@ {% if locations is defined and locations %}
    -
    - {% for id, title in locations %} -
    -

    {{ title }}

    -
    - {% endfor %} -
    +
    +

    {% trans %}Locations{% endtrans %}

    +
    + {% for id, title in locations %} +
    +

    {{ title }}

    +
    + {% endfor %} +
    +
    {% endif %} diff --git a/Resources/views/session/index.html.twig b/Resources/views/session/index.html.twig index 716eb99..291e52a 100644 --- a/Resources/views/session/index.html.twig +++ b/Resources/views/session/index.html.twig @@ -13,6 +13,10 @@ {% for session in day.sessions %}
  • {{ session.title }} + + {% if session.weather is defined and session.weather %}{{ session.weather }}{% endif %} + {{ session.slot }} +
  • {% endfor %} @@ -27,13 +31,16 @@ {% if locations is defined and locations %}
    -
    - {% for id, title in locations %} -
    -

    {{ title }}

    -
    - {% endfor %} -
    +
    +

    {% trans %}Locations{% endtrans %}

    +
    + {% for id, title in locations %} +
    +

    {{ title }}

    +
    + {% endfor %} +
    +
    {% endif %} diff --git a/Resources/views/user/view.html.twig b/Resources/views/user/view.html.twig index 2110208..162c383 100644 --- a/Resources/views/user/view.html.twig +++ b/Resources/views/user/view.html.twig @@ -13,6 +13,10 @@ {% for session in day.sessions %}
  • {{ session.title }} + + {% if session.weather is defined and session.weather %}{{ session.weather }}{% endif %} + {{ session.slot }} +
  • {% endfor %} @@ -27,13 +31,16 @@ {% if locations is defined and locations %}
    -
    - {% for id, title in locations %} -
    -

    {{ title }}

    -
    - {% endfor %} -
    +
    +

    {% trans %}Locations{% endtrans %}

    +
    + {% for id, title in locations %} +
    +

    {{ title }}

    +
    + {% endfor %} +
    +
    {% endif %}