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:
parent
1293c19bc6
commit
8dac3be03c
1 changed files with 36 additions and 13 deletions
|
|
@ -6,9 +6,13 @@
|
|||
{% endblock %}
|
||||
#}
|
||||
|
||||
|
||||
|
||||
{% block body %}
|
||||
<section class="clearfix">
|
||||
|
||||
|
||||
{% if(page.slug == "ferienwohnungen")%}
|
||||
{% if lodgingGroups is not empty %}
|
||||
{% for lodgingGroup in lodgingGroups %}
|
||||
<h1>{{ lodgingGroup.name }}</h1>
|
||||
|
|
@ -23,6 +27,22 @@
|
|||
|
||||
{% 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 %}
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
|
@ -30,3 +50,6 @@
|
|||
{{ page.content|raw|keywords }}
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue