Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f0f6081f authored by Volker Krause's avatar Volker Krause

Improve flight display when airport IATA codes are missing

parent 1f3f2fc0
<table style="width:100%;">
<tr>
<td style="font-size:200%; width:33%;" title="{{ item.reservationFor.departureAirport.name }}">{{ item.reservationFor.departureAirport.iataCode }}</td>
{% if item.reservationFor.departureAirport.iataCode %}
<td style="font-size:200%; width:33%;" title="{{ item.reservationFor.departureAirport.name }}">
{{ item.reservationFor.departureAirport.iataCode }}
</td>
{% else %}
<td style="font-size:120%; width:33%;">{{ item.reservationFor.departureAirport.name }}</td>
{% endif %}
<td style="font-size:200%; width:33%; text-align:center;">&#9992;</td>
<td style="font-size:200%; width:33%;" title="{{ item.reservationFor.arrivalAirport.name }}">{{ item.reservationFor.arrivalAirport.iataCode }}</td>
{% if item.reservationFor.arrivalAirport.iataCode %}
<td style="font-size:200%; width:33%;" title="{{ item.reservationFor.arrivalAirport.name }}">
{{ item.reservationFor.arrivalAirport.iataCode }}
</td>
{% else %}
<td style="font-size:120%; width:33%;">{{ item.reservationFor.arrivalAirport.name }}</td>
{% endif %}
</tr>
<tr>
<td>{{ item.reservationFor.departureTimeLocalized }}</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment