{% extends "afat/base.html" %} {% load i18n %} {% block page_title %} {% translate "Fleet activity tracking" as page_title %} {{ page_title|title }} {% endblock %} {% block afat_header %} {% translate "All FAT links" as site_title %} {% include "framework/header/page-header.html" with title=site_title %} {% endblock %} {% block afat_body %} {% url "afat:fatlinks_overview" year_prev as url_previous_year %} {% url "afat:fatlinks_overview" year_next as url_next_year %} {% url "afat:fatlinks_overview" year_current as url_current_year %} {% include "afat/partials/common/navigation/year-navigation.html" with url_previous_year=url_previous_year url_next_year=url_next_year url_current_year=url_current_year %}
{# Display the "Actions" column only if the user has the 'add_fatlink' or 'manage_afat' permission. #} {% if perms.afat.add_fatlink or perms.afat.manage_afat %} {% endif %}
{% translate "Delete FAT link" as translated_title %} {% include "afat/modals/general.html" with modal_name="deleteFatLink" modal_title=translated_title confirm_button_class="btn-danger" %} {% translate "Close ESI fleet tracking" as translated_title %} {% include "afat/modals/general.html" with modal_name="cancelEsiFleet" modal_title=translated_title confirm_button_class="btn-danger" %} {% endblock %} {% block extra_css %} {% include "bundles/datatables-css-bs5.html" %} {% include "afat/bundles/afat-css.html" %} {% endblock %} {% block extra_javascript %} {% translate "ESI" as dataTableFilterViaEsi %} {% include "bundles/datatables-js-bs5.html" %} {% include "bundles/moment-js.html" with locale=True %} {% include "afat/bundles/afat-js.html" %} {% include "afat/bundles/afat-fatlist-js.html" %} {% include "bundles/filterdropdown-js.html" %} {% endblock %}