sterntours/app/Resources/views/default/pages/cms/travelProgramPDF.html.twig
2020-07-09 12:49:32 +02:00

42 lines
No EOL
1.5 KiB
Twig

<h1>{{ travel_program.title|default(page.pagetitle)|default(page.title) }}</h1>
<h2 style="color: #666">{{ travel_program.subtitle }}</h2>
{{ travel_program.htmlDescription|raw|keywords }}
<h2>Eingeschlossene Leistungen</h2>
<ul>
{% for travel_program_service in travel_program.included|split('\n') %}
<li>{{ travel_program_service|raw }}</li>
{% endfor %}
</ul>
{% if travel_program.classDescription is not empty %}
{{ travel_program.classDescription|raw }}
{% endif %}
{% if travel_program.excluded is not empty %}
<h2>Nicht eingeschlossene / zubuchbare Leistungen</h2>
<ul>
{% for travel_program_service in travel_program.excluded|split('\n') %}
<li>{{ travel_program_service|raw }}</li>
{% endfor %}
</ul>
{% endif %}
{% if (travel_program.advices is not empty) or (travel_program.generalnote is not empty) %}
<h3>Hinweise</h3>
<ul>
{% if travel_program.generalnote is not empty %}
{% for notes in travel_program.generalnote.text|trim|split('\n') %}
{% if notes is not empty %}
<li>{{ notes|raw }}</li>
{% endif %}
{% endfor %}
{% endif %}
{% for travel_program_advice in travel_program.advices|trim|split('\n') %}
{% if travel_program_advice is not empty %}
<li>{{ travel_program_advice|raw }}</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}