Commit 95b490e7 authored by Volker Krause's avatar Volker Krause
Browse files

Indicate if a reservation has been canceled

parent c9b2c73f
......@@ -7,7 +7,13 @@
{% endif %}
{% with trip.departureBusStop as location %}{% include "org.kde.messageviewer/itinerary/location.html" %}{% endwith %}
</td>
<td style="font-size:120%; width:33%; text-align:center;">&rarr;</td>
<td style="font-size:120%; width:33%; text-align:center;">
{% if elem.reservations.0.reservation.reservationStatus == 1 %}
{% icon "dialog-cancel" sizesmallmedium _("Reservation canceled.") %}
{% else %}
&rarr;
{% endif %}
</td>
<td style="font-size:120%; width:33%;">
{{ trip.arrivalBusStop.name }}
{% if trip.arrivalPlatform %}
......
<div style="font-size:125%;">{{ trip.name }}</div>
<div style="font-size:125%;">
{% if elem.reservations.0.reservation.reservationStatus == 1 %}
<b>{% i18n "Canceled:" %}
{% endif %}
{{ trip.name }}
</div>
<div>
{{ trip.startDate|formatDateTime }}
{% if trip.endDate %}
......
......@@ -8,7 +8,13 @@
{% endif %}
{% with trip.departureAirport as location %}{% include "org.kde.messageviewer/itinerary/location.html" %}{% endwith %}</span>
</td>
<td style="font-size:200%; width:33%; text-align:center;">&#9992;</td>
<td style="font-size:200%; width:33%; text-align:center;">
{% if elem.reservations.0.reservation.reservationStatus == 1 %}
{% icon "dialog-cancel" sizemedium _("Reservation canceled.") %}
{% else %}
&#9992;
{% endif %}
</td>
<td style="width:33%;" title="{{ trip.arrivalAirport.name }}">
{% if trip.arrivalAirport.iataCode %}
<span style="font-size:200%;">{{ trip.arrivalAirport.iataCode }}
......
<div style="font-size:125%;"><b>{{ trip.name }}</b>
<div style="font-size:125%;">
{% if elem.reservations.0.reservation.reservationStatus == 1 %}
<b>{% i18n "Canceled:" %}
{% endif %}
<b>{{ trip.name }}</b>
{% with trip as location %}{% include "org.kde.messageviewer/itinerary/location.html" %}{% endwith %}
- {{ res.startTime|formatDateTime }}</div>
{% if res.partySize > 0 %}
......
<div style="font-size:125%;">{{ trip.name }}
<div style="font-size:125%;">
{% if elem.reservations.0.reservation.reservationStatus == 1 %}
<b>{% i18n "Canceled:" %}
{% endif %}
{{ trip.name }}
{% with trip as location %}{% include "org.kde.messageviewer/itinerary/location.html" %}{% endwith %}
{{ res.checkinTime|formatDate }} - {{ res.checkoutTime|formatDate }}</div>
<div>{{ trip.address|formatAddress|safe }}</div>
......
......@@ -7,7 +7,13 @@
{% endif %}
{% with trip.departureStation as location %}{% include "org.kde.messageviewer/itinerary/location.html" %}{% endwith %}
</td>
<td style="font-size:120%; width:33%; text-align:center;">&rarr;</td>
<td style="font-size:120%; width:33%; text-align:center;">
{% if elem.reservations.0.reservation.reservationStatus == 1 %}
{% icon "dialog-cancel" sizesmallmedium _("Reservation canceled.") %}
{% else %}
&rarr;
{% endif %}
</td>
<td style="font-size:120%; width:33%;">
{{ trip.arrivalStation.name}}
{% if trip.arrivalPlatform %}
......
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