agenda/templates/holiday_list.html

19 lines
479 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% from "macros.html" import display_date %}
{% block content %}
<div class="container-fluid mt-2">
<h1>Holidays</h1>
<table class="table table-hover w-auto">
{% for item in items %}
{% set country = get_country(item.country) %}
<tr>
<td class="text-end">{{ display_date(item.date) }}</td>
<td>{{ country.flag }} {{ country.name }}</td>
<td>{{ item.name }}</td>
</tr>
{% endfor %}
</table>
</div>
{% endblock %}