From: Raphaƫl Gertz Date: Tue, 8 Dec 2020 00:42:53 +0000 (+0100) Subject: Add weather and slot glyphs X-Git-Tag: 0.1.5~2 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/ab256e72e6a8095629a62dfc6af70c3793b1d41c 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 %}