Improvements

This commit is contained in:
Edward Betts 2023-09-11 07:00:20 +01:00
parent 7599f655ad
commit b6f0c88320
7 changed files with 139 additions and 27 deletions

View file

@ -34,7 +34,19 @@ a:link {
<p>{{ departure_date.strftime("%A, %d %B %Y %H:%M UTC") }} {{ ticket_tier }}</p>
<p><a href="{{ url_for(section + "_page") }}">back to sailings</a></p>
<p><a href="{{ url_for(section + "_page", rear_mounted_bike_carrier=request.args.get("rear_mounted_bike_carrier")) }}">back to sailings</a></p>
<p>Passengers: {{ pax_label }}</p>
{% if rear_mounted_bike_carrier %}
<p>Bike carrier: <strong>yes</strong> | <a href="{{ url_for(request.endpoint, rear_mounted_bike_carrier=None, **request.view_args) }}">no</a></p>
{% else %}
<p>Bike carrier:
<a href="{{ url_for(request.endpoint, rear_mounted_bike_carrier='true', **request.view_args) }}">yes</a>
|
<strong>no</strong>
</p>
{% endif %}
<table class="table w-auto">
<tr>