{##} {% if students %}
{{ __('Students') }}
{{ include('ui/writingProgress.twig.html') }}
{% for student in students %} {% if student.progress == 'Complete' %} {% set progressClass = 'success' %} {% elseif student.progress == 'In Progress' %} {% set progressClass = 'bg-gray-200 text-gray-700' %} {% else %} {% set progressClass = 'text-gray-700' %} {% endif %} {% set activeClass = student.gibbonPersonID == gibbonPersonIDStudent ? 'font-bold' : '' %}
{{ student.surname }}, {{ student.preferredName }} {% if student.status != 'Full' %} {{ student.status }} {% endif %} {% if student.role == 'Student - Left' %} {{ __('Left') }} {% endif %}
{% if student.progress == 'Complete' %} {% elseif student.progress == 'In Progress' %} {% endif %}
{% endfor %}
{% set params = params|merge({'allStudents': (params.allStudents == 'Y' ? 'N' : 'Y') }) %} {% set redirectTo = gibbonPersonIDStudent is not empty ? 'reporting_write_byStudent.php' : 'reporting_write.php' %} {{ params.allStudents == 'Y' ? __('Show Left Students') : __('Hide Left Students') }} {% endif %}