{% extends 'base.html' %}{% from '_m.html' import avatar %}{% block title %}Team Calendar{% endblock %}{% block content %}

Team Calendar

P present · L late · H half day · V leave · A absent · off day

{% for i in range(ndays) %}{% endfor %} {% for e, ss in grid %}{% for s in ss %}{% endfor %}{% endfor %}
Employee{{i+1}}
{{wd[i]}}
{{ avatar(e.id, e.full_name, e.photo, "sm") }}{{e.full_name}}{{ {'Present':'P','Late':'L','Half Day':'H','Leave':'V','Absent':'A','Off':'','Pending':'·','-':''}[s] }}
{% endblock %}