{% extends 'base.html' %} {% block content %}
| # | Date | Name | Type | Location | Action |
|---|---|---|---|---|---|
| {{ loop.index }} | {{ h.date.strftime('%Y-%m-%d') }} | {{ h.name }} | {% set t = (h.type or '')|lower %} {% if t == 'optional' %} Restricted Holiday {% elif t in ['mandatory', 'national'] %} Gazetted Holiday {% else %} {{ h.type or '—' }} {% endif %} | {% if not h.location %} - {% elif h.location|string|upper == 'ALL' %} All Locations {% else %} {{ h.location }} {% endif %} | |
| No holidays defined. | |||||