init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
42
app/Resources/views/default/pages/cms/overview.html.twig
Normal file
42
app/Resources/views/default/pages/cms/overview.html.twig
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{% extends get_base_template() %}
|
||||
|
||||
{#
|
||||
{% block nav_sidebar_widget %}
|
||||
{% include 'default/components/sidebar/navSidebarWidget.html.twig' %}
|
||||
{% endblock %}
|
||||
#}
|
||||
{% block body %}
|
||||
<h1>{{ page.pagetitle|default(page.title) }}</h1>
|
||||
<div id="section_order">
|
||||
<section class="clearfix" id="section_order_second">
|
||||
{{ page.content|raw|keywords|lozad }}
|
||||
</section>
|
||||
<section class="clearfix" id="section_order_first">
|
||||
{% if(page.slug == "ferienwohnungen")%}
|
||||
{% if lodgingGroups is not empty %}
|
||||
{% for lodgingGroup in lodgingGroups %}
|
||||
<h1>{{ lodgingGroup.name }}</h1>
|
||||
|
||||
<div class="row">
|
||||
{% if lodgingGroup.lodgings is not empty %}
|
||||
{% for lodging in lodgingGroup.lodgings %}
|
||||
{% include 'default/components/pageLodgingBox.html.twig' %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{#{% 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>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue