File indexing completed on 2025-03-09 04:46:52
0001 <table style="width:100%;"> 0002 <tr> 0003 <td style="width:33%;" title="{{ trip.departureAirport.name }}"> 0004 {% if trip.departureAirport.iataCode %} 0005 <span style="font-size:200%;">{{ trip.departureAirport.iataCode }} 0006 {% else %} 0007 <span style="font-size:120%;">{{ trip.departureAirport.name }} 0008 {% endif %} 0009 {% with trip.departureAirport as location %}{% include "org.kde.messageviewer/itinerary/location.html" %}{% endwith %}</span> 0010 </td> 0011 <td style="font-size:200%; width:33%; text-align:center;"> 0012 {% if elem.reservations.0.reservation.reservationStatus == 1 %} 0013 {% icon "dialog-cancel" sizemedium _("Reservation canceled.") %} 0014 {% else %} 0015 ✈ 0016 {% endif %} 0017 </td> 0018 <td style="width:33%;" title="{{ trip.arrivalAirport.name }}"> 0019 {% if trip.arrivalAirport.iataCode %} 0020 <span style="font-size:200%;">{{ trip.arrivalAirport.iataCode }} 0021 {% else %} 0022 <span style="font-size:120%;">{{ trip.arrivalAirport.name }} 0023 {% endif %} 0024 {% with trip.arrivalAirport as location %}{% include "org.kde.messageviewer/itinerary/location.html" %}{% endwith %}</span> 0025 </td> 0026 </tr> 0027 <tr> 0028 <td> 0029 {% if trip.departureTime %} 0030 {{ trip.departureTime|formatDateTime }} 0031 {% else %} 0032 {{ trip.departureDay|formatDate }} 0033 {% endif %} 0034 </td> 0035 <td style="white-space: nowrap; text-align:center;" title="{{ trip.airline.name }}">{{ trip.airline.iataCode }} {{ trip.flightNumber }}</td> 0036 <td>{{ trip.arrivalTime|formatDateTime }}</td> 0037 </tr> 0038 <tr><td colspan="3"> 0039 <div style="float:left"> 0040 {% if elem.reservations.0.ticketToken or elem.reservations.size > 1 %} 0041 <a href="x-kmail:/bodypart/0//semanticExpand?{{ elem.groupId }}"> 0042 {% if elem.state.expanded %} 0043 <img src="{{ style.collapseIcon }}" style="margin-right: 4px;"/> 0044 {% else %} 0045 <img src="{{ style.expandIcon }}" style="margin-right: 4px;"/> 0046 {% endif %} 0047 </a> 0048 {% endif %} 0049 {% if trip.departureGate %} 0050 {% i18n "Gate: %1" trip.departureGate %} 0051 {% endif %} 0052 0053 {% if trip.boardingTime %} 0054 {% i18n "Boarding: %1" trip.boardingTime|formatTime %} 0055 {% endif %} 0056 0057 {% if res.boardingGroup and elem.reservations.size == 1 and not elem.state.expanded %} 0058 {% i18n "Group: %1" res.boardingGroup %} 0059 {% endif %} 0060 0061 {% if res.airplaneSeat and elem.reservations.size == 1 and not elem.state.expanded %} 0062 {% i18n "Seat: %1" res.airplaneSeat %} 0063 {% endif %} 0064 </div> 0065 {% if elem.reservations.size == 1 %} 0066 {% include "org.kde.messageviewer/itinerary/actions.html" %} 0067 {% endif %} 0068 </td></tr> 0069 </table> 0070 0071 {% if elem.state.expanded %} 0072 {% for d in elem.reservations %} 0073 {% with d.reservation as res %} 0074 {% if res.underName.name %} 0075 <div>{{ res.underName.name }}</div> 0076 {% endif %} 0077 <div> 0078 {% if res.boardingGroup %} {% i18n "Group: %1" res.boardingGroup %} {% endif %} 0079 {% if res.airplaneSeat %} {% i18n "Seat: %1" res.airplaneSeat %} {% endif %} 0080 </div> 0081 {% if d.ticketToken %} 0082 <div style="text-align:center;"> 0083 <div style="background-color: #ffffff; display: inline-block; padding: 4px;"> 0084 <img src="{{ d.ticketToken }}"/> 0085 </div> 0086 </div> 0087 {% endif %} 0088 {% if elem.reservations.size > 1 %} 0089 {% include "org.kde.messageviewer/itinerary/actions.html" %} 0090 {% endif %} 0091 {% endwith %} 0092 {% endfor %} 0093 {% endif %}