{% extends "base.html.twig" %} {% block ExtraCSSFiles %} {% endblock %} {% set pagename = 'Teachers' | trans %} {% set addBtnTitle = 'Add new Teacher?' | trans %} {% set addBtnLink = path('add_new_teacher') %} {% block MainContent %}
{# list of student #}
{# User's saved sections #} {% for u_l in UsersLIst %} {# first and last name#} {# Enrollment #} {# status of user, is active or in active #} {# gender of user #} {# date of registration #} {# actions list #} {% endfor %}
{{ 'Ref#'|trans }} {{ 'Name'|trans }} {{ 'Assign Class'|trans }} {{ 'Assign Subjects'|trans }} {{ 'Active'|trans }} {{ 'Gender'|trans }} {{ 'DOR'|trans }} {{ '#'|trans }}
{{ u_l.id }}
{{ u_l.email }}
{{ u_l.getfullname }} {% if u_l.getAllocateTeacherToClassAndSubjects.toArray is not empty %} {% set newArray = [] %} {% for allocation in u_l.getAllocateTeacherToClassAndSubjects.toArray %} {% if allocation.class is not empty and allocation.class.id not in newArray %} {{ allocation.class.name }}
{% set newArray = newArray|merge([allocation.class.id]) %} {% endif %} {% endfor %} {% endif %}
{% if u_l.getAllocateTeacherToClassAndSubjects.toArray is not empty %} {% for allocation in u_l.getAllocateTeacherToClassAndSubjects.toArray %} {% if allocation.getClassSubject is not empty %} {{ allocation.getClassSubject.getSubjectname }}
{% endif %} {% endfor %} {% endif %}
{% if u_l.getIsActive() %} {{ 'Active' | trans }} {% else %} {{ 'InActive' | trans }} {% endif %} {% if u_l.gender == 1 %} {% elseif u_l.gender == 2 %} {% else %} - {% endif %} {{ u_l.getRegisterTime()|date(getAppSetting('date_format')) }} - {{ u_l.getRegisterTime()|date(getAppSetting('time_format')) }}
{% endblock %} {% block documentation %}
Teachers?

Here we find the list of teachers, in the List we will see following information:

How to Add Teacher?

To Add new Teacher you need click over the {{ 'Add new Teacher?'|trans }} button

{% endblock %}