{##} {% set successStyle = "background-color: #c6f6d5;border-color: #2f855a;color: #2f855a;"%} {% set warningStyle = "background-color: #ffd2a8;border-color: #d45602;color: #d45602;"%} {% set errorStyle = "background-color: #fed7d7;border-color: #c53030;color: #c53030;"%} {{ formatUsing('name', student.title, student.preferredName, student.surname, 'Student', false, true) }} {{ student.formGroup }}

{% if schoolLog or classLogs %} {% if schoolLog %} {% endif %} {% for classLog in classLogs %} {% endfor %}
{{ __('School Attendance') }} {{ __(schoolLog.direction) }} ({{ __(schoolLog.type) }}) {{ __('By') }} {{ formatUsing('name', '', schoolLog.preferredName, schoolLog.surname, 'Staff', false, true) }}
{{ classLog.period }} - {{ formatUsing('courseClassName', classLog.courseName, classLog.className) }} {{ __(classLog.direction) }} ({{ __(classLog.type) }}) {{ __('By') }} {{ formatUsing('name', '', classLog.preferredName, classLog.surname, 'Staff', false, true) }}
{% else %} {{ __('There is currently no attendance data today for the selected student.') }}
{% endif %}