Update
This commit is contained in:
parent
c26383c9c0
commit
a5195cba1a
7 changed files with 263 additions and 71 deletions
|
|
@ -34,13 +34,15 @@ 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>
|
||||
|
||||
<table class="table w-auto">
|
||||
<tr>
|
||||
<th>code</th>
|
||||
<th>description</th>
|
||||
<th>births</th>
|
||||
<th>quantity<br/>available</th>
|
||||
<th>price</th>
|
||||
<th class="text-end">price</th>
|
||||
</tr>
|
||||
{% for a in accommodations if a.quantityAvailable > 0 %}
|
||||
<tr>
|
||||
|
|
@ -54,7 +56,7 @@ a:link {
|
|||
{{ a.quantityAvailable }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>£{{ a.unitCost.amount }}</td>
|
||||
<td class="text-end">£{{ a.unitCost.amount }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
|
@ -69,6 +71,19 @@ a:link {
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h4>Sailing</h4>
|
||||
|
||||
<ul>
|
||||
<li>sailing ID: {{ crossing.sailingId }}</li>
|
||||
<li>depart: {{ crossing.departureDateTime.time }}</li>
|
||||
<li>arrive: {{ crossing.arrivalDateTime.time }}</li>
|
||||
<li>duration: {{ get_duration(crossing.departureDateTime.time, crossing.arrivalDateTime.time, time_delta) }}</li>
|
||||
<li>ship: {{ crossing.shipName }}</li>
|
||||
<li>economy price: £{{ crossing.economyPrice.amount }}</li>
|
||||
<li>standard price: £{{ crossing.standardPrice.amount }}</li>
|
||||
<li>flexi price: £{{ crossing.flexiPrice.amount }}</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue