diff --git a/plugins/messageviewer/bodypartformatter/autotests/data/boarding-pass-pkpass.mbox.html b/plugins/messageviewer/bodypartformatter/autotests/data/boarding-pass-pkpass.mbox.html
index 8d67f128..156a7e45 100644
--- a/plugins/messageviewer/bodypartformatter/autotests/data/boarding-pass-pkpass.mbox.html
+++ b/plugins/messageviewer/bodypartformatter/autotests/data/boarding-pass-pkpass.mbox.html
@@ -1,105 +1,105 @@
|
Boarding Pass |
Seat |
Gate |
10E |
AB |
Departure |
|
Arrival |
ZRH |
✈ |
TXL |
Flight |
Date |
Boarding |
Class |
LX962 |
15September |
20:25 |
Y |
Passenger |
Status |
KRAUSE/VOLKERMR |
|
-
+
Your ticket number:
123 4567 650 789
KDE Air wishes you a pleasant flight.
Before departure please read the detailed information regarding baggage regulations carefully.
No dangerous goods are allowed in either checked or carry-on baggage.
To change your seat or if you plan not to travel, please go to
kde.org.
diff --git a/plugins/messageviewer/bodypartformatter/pkpass/templates/boardingpass.html b/plugins/messageviewer/bodypartformatter/pkpass/templates/boardingpass.html
index 355879d5..8f00f9a9 100644
--- a/plugins/messageviewer/bodypartformatter/pkpass/templates/boardingpass.html
+++ b/plugins/messageviewer/bodypartformatter/pkpass/templates/boardingpass.html
@@ -1,110 +1,110 @@
{% if pass.logoUrl %}
{% endif %}
|
{{ pass.logoText }} |
{% for field in pass.headerFields %}
{{ field.label }} |
{% endfor %}
{% for field in pass.headerFields %}
{{ field.value }} |
{% endfor %}
{{ pass.primaryFields.0.label }} |
|
{{ pass.primaryFields.1.label }} |
{{ pass.primaryFields.0.value }} |
{% if pass.transitType == pass.Air %}
✈
{% elif pass.transitType == pass.Bus %}
→
{% elif pass.transitType == pass.Boat %}
→
{% elif pass.transitType == pass.Train %}
→
{% else %}
→
{% endif %}
|
{{ pass.primaryFields.1.value }} |
{% for field in pass.auxiliaryFields %}
{{ field.label }} |
{% endfor %}
{% for field in pass.auxiliaryFields %}
{{ field.value }} |
{% endfor %}
{% for field in pass.secondaryFields %}
{{ field.label }} |
{% endfor %}
{% for field in pass.secondaryFields %}
{{ field.value }} |
{% endfor %}
{% if pass.barcodeUrl %}
-
+
{% else %}
Unsupported barcode format.
{% endif %}
{{ pass.barcodeAltText }}
{% for field in pass.backFields %}
{{ field.label }}
{{ field.value|safe|linebreaksbr }}
{% endfor %}