-
{% for w in rota.workers.all %}
-
{{ w.name }} — {{ w.site }}{% if w.grade %} · grade {{ w.grade }}{% endif %} · FTE {{ w.fte }} {# show non-working days stored in options.nwds if present; render JSON safely and let JS format it #} {% if w.options.nwds %} {% with script_id='nwds-data-'|add:w.id %} {{ w.options.nwds|default:"[]"|json_script:script_id }} {% endwith %} {% endif %}
{% empty %}
- No workers assigned {% endfor %}