sterntours/trunk/app/Resources/views/default/components/departuresModal.html.twig
adametz b28c7db598 feeback show, header css lazy
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3482 f459cee4-fb09-11de-96c3-f9c5f16c3c76
2018-12-27 16:40:23 +00:00

55 lines
No EOL
2.8 KiB
Twig

<div class="modal fade" tabindex="-1" role="dialog" id="st-departures-modal-{{ id }}">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title">Abflugorte / Zuschläge</h4>
</div>
<div class="modal-body">
<table class="table">
<thead>
<tr>
<th style="text-align: left; width: 80%">Ort</th>
<th style="width: 20%">Zu-/Abschlag</th>
</tr>
</thead>
<tbody>
{% for departure in departures %}
{# @var departure \AppBundle\Entity\TravelDeparturePoint #}
<tr>
<td style="text-align: left">
{% if departure.flightTime[startWeekday] is defined %}
{% if departure.flightTime[startWeekday] != "" %}
<a href="#" data-toggle="collapse" data-target="#flight_{{ travelName }}_{{ departure.id }}" class="pull-right collapsed">Flugzeiten <i class="fa fa-plus"></i></a>
{% endif %}
{% endif %}
<h4>{{ departure.name }}</h4>
{% if departure.flightTime[startWeekday] is defined %}
<div class="collapse" id="flight_{{ travelName }}_{{ departure.id }}" style="">
{% for flightTime in departure.flightTime[startWeekday]|split('\n') %}
{% if flightTime != "" %}
{{ flightTime|raw }}<br>
{% endif %}
{% endfor %}
</div>
{% endif %}
</td>
<td>{{ departure.extraCharge|number_format(2) }} €</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">schließen</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
{% for departure in travel_date.departures %}
{# @var departure \AppBundle\Entity\TravelDeparturePoint #}
{% endfor %}