Bug anzeige bei Reise / Fewo

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3368 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-02-10 09:16:46 +00:00
parent 1293c19bc6
commit 8dac3be03c

View file

@ -6,23 +6,43 @@
{% endblock %} {% endblock %}
#} #}
{% block body %} {% block body %}
<section class="clearfix"> <section class="clearfix">
{% if lodgingGroups is not empty %}
{% for lodgingGroup in lodgingGroups %}
<h1>{{ lodgingGroup.name }}</h1>
<div class="row"> {% if(page.slug == "ferienwohnungen")%}
{% if lodgingGroup.lodgings is not empty %} {% if lodgingGroups is not empty %}
{% for lodging in lodgingGroup.lodgings %} {% for lodgingGroup in lodgingGroups %}
{% include 'default/components/pageLodgingBox.html.twig' %} <h1>{{ lodgingGroup.name }}</h1>
{% endfor %}
{% endif %} <div class="row">
</div> {% if lodgingGroup.lodgings is not empty %}
{% for lodging in lodgingGroup.lodgings %}
{% include 'default/components/pageLodgingBox.html.twig' %}
{% endfor %}
{% endif %}
</div>
{% endfor %}
{% endif %}
{% else %}
<h1>{{ page.pagetitle|default(page.title) }}</h1>
{#{% for i in 0..page.children|length//3 %}#}
<div class="row">
{% for child_page in page.children if child_page.status == 1 %}
{% include 'default/components/pageBox.html.twig' %}
{% endfor %}
</div>
{% endif %}
{% endfor %}
{% endif %}
</section> </section>
@ -30,3 +50,6 @@
{{ page.content|raw|keywords }} {{ page.content|raw|keywords }}
</section> </section>
{% endblock %} {% endblock %}