parent
7a50ea6016
commit
61e17d9c96
10 changed files with 416 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
{% block content %}
|
||||
<div class="container-fluid mt-2">
|
||||
<h1>Holidays</h1>
|
||||
<h1>Public holidays</h1>
|
||||
<table class="table table-hover w-auto">
|
||||
{% for item in items %}
|
||||
{% set country = get_country(item.country) %}
|
||||
|
|
@ -20,5 +20,17 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
<h2>UK school holidays (Bristol)</h2>
|
||||
<table class="table table-hover w-auto">
|
||||
{% for item in school_holidays %}
|
||||
<tr>
|
||||
<td class="text-end">{{ display_date(item.as_date) }}</td>
|
||||
<td>to {{ display_date(item.end_as_date) }}</td>
|
||||
<td>in {{ (item.as_date - today).days }} days</td>
|
||||
<td>{{ item.title }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue