{% load static %} {% block title %}FoxFitt{% endblock %} {# deployment_timestamp comes from core.context_processors.project_context #} {% block extra_css %}{% endblock %} {% if user.is_authenticated %}
FoxFitt
{{ user.username|make_list|first|upper }}
{{ user.first_name|default:user.username }}
{% csrf_token %}
{% if messages %}
{% for message in messages %} {% endfor %}
{% endif %}
{% endif %} {% block content %} {% endblock %} {% if user.is_authenticated %}

FoxFitt Construction

© {% now "Y" %} All rights reserved.

{% endif %} {# === WORK LOG PAYROLL MODAL — click handler + safe DOM builder === #} {# Builds the modal body from JSON via createElement + textContent. #} {% if user.is_authenticated and user.is_staff or user.is_superuser %} {% endif %} {% block extra_js %}{% endblock %} {# === WORK LOG PAYROLL MODAL (admin-only) === #} {# Hidden by default. Any element with data-log-id anywhere in the app #} {# triggers this modal. Fetches JSON and builds the DOM safely. #} {% if user.is_authenticated and user.is_staff or user.is_superuser %} {% endif %}