diff --git a/plugins/messageviewer/bodypartformatter/pkpass/templates/boardingpass.html b/plugins/messageviewer/bodypartformatter/pkpass/templates/boardingpass.html index a60ae82b..bf3daa65 100644 --- a/plugins/messageviewer/bodypartformatter/pkpass/templates/boardingpass.html +++ b/plugins/messageviewer/bodypartformatter/pkpass/templates/boardingpass.html @@ -1,115 +1,115 @@
{% for field in pass.headerFields %} {% endfor %} {% for field in pass.headerFields %} {% endfor %}
{% if pass.logoUrl %} - + {% endif %} {{ pass.logoText }}{{ field.label }}
{{ field.value }}

{{ 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 %} {% endfor %} {% for field in pass.auxiliaryFields %} {% endfor %}
{{ field.label }}
{{ field.value }}
{% for field in pass.secondaryFields %} {% endfor %} {% for field in pass.secondaryFields %} {% endfor %}
{{ field.label }}
{{ field.value }}
{% if pass.footerUrl %}
{% endif %}
{% if pass.barcodeUrl %}
{% else %} {% i18n "Unsupported barcode format." %} {% endif %}
{{ pass.barcodes.0.alternativeText }}

{% for field in pass.backFields %}
{{ field.label }}
{{ field.value|safe|linebreaksbr }}
{% endfor %}
diff --git a/plugins/messageviewer/bodypartformatter/pkpass/templates/eventticket.html b/plugins/messageviewer/bodypartformatter/pkpass/templates/eventticket.html index e82bac75..91b9a466 100644 --- a/plugins/messageviewer/bodypartformatter/pkpass/templates/eventticket.html +++ b/plugins/messageviewer/bodypartformatter/pkpass/templates/eventticket.html @@ -1,113 +1,113 @@
{% for field in pass.headerFields %} {% endfor %} {% for field in pass.headerFields %} {% endfor %}
{% if pass.logoUrl %} - + {% endif %} {{ pass.logoText }}{{ field.label }}
{{ field.value }}
{% if pass.stripUrl %}
{% endif %}
{% for field in pass.primaryFields%} {% endfor %} {% for field in pass.primaryFields %} {% endfor %}
{{ field.label }}
{{ field.value }}
{% for field in pass.secondaryFields %} {% endfor %} {% for field in pass.secondaryFields %} {% endfor %}
{{ field.label }}
{{ field.value }}
{% for field in pass.auxiliaryFields %} {% endfor %} {% for field in pass.auxiliaryFields %} {% endfor %}
{{ field.label }}
{{ field.value }}
{% if pass.barcodeUrl %}
{% else %} {% i18n "Unsupported barcode format." %} {% endif %}
{{ pass.barcodes.0.alternativeText }}
{% if pass.footerUrl %}
{% endif %}
{% for field in pass.backFields %}
{{ field.label }}
{{ field.value|safe|linebreaksbr }}
{% endfor %}