{# School-wide dashboard: management only #}
{% if user.is_superuser or is_management %}
Dashboard
{% endif %}
{# My Dashboard: teachers + support staff (driver, canteen, security etc.) #}
{% if user.is_superuser or is_teacher_role or is_support_only %}
My Dashboard
{% endif %}
{# Bursar shortcut on top #}
{% if user.is_superuser or is_bursar_role %}
Bursar Dashboard
{% endif %}
{# Support staff (driver/canteen) can see student list to check registrations & fee status #}
{% if user.is_superuser or is_management or is_teacher_role or is_support_only %}
Students
All Students
{# Add/manage students: admin and above only #}
{% if user.is_superuser or user_role in "proprietor,head_master,head_mistress,admin,bursar" %}
Add Student Parents / Guardians
{# Staff directory (contact info): everyone can see colleagues #}
Staff Directory
{# My own profile #}
{% if user.staff_profile %}
My Profile
{% endif %}
{# Add / edit staff: admin+ only #}
{% if user.is_superuser or user_role in "proprietor,head_master,head_mistress,admin" %}
Add Staff
{% endif %}
{# Leave: everyone can request and view own leave #}
Leave Requests Request Leave
{# Staff attendance tracking: management only #}
{% if user.is_superuser or is_management %}
Staff Attendance
{% endif %}
{# Support staff (drivers, cleaners etc.) don't need the academics section #}
{% if user.is_superuser or is_management or is_teacher_role %}
{% endif %}
{# Announcements visible to everyone including support staff #}
Communication
Announcements
{# SMS compose: teachers and above #}
{% if user.is_superuser or is_management or is_teacher_role %}
Send SMS
{% endif %}
{# SMS history and parent contacts: management only #}
{% if user.is_superuser or is_management %}
SMS History Parent Contacts
{% endif %}
{% if user.is_superuser or is_management or is_teacher_role %}