{% extends "_base.html" %} {% load static %} {% block styles %} {{ block.super }} {% endblock styles %} {% block ui_active_tab %}'workers'{% endblock ui_active_tab %} {% block breadcrumb %} {% include "doctors/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %}
No. | First name | Last name | Languages | {% if worker_type == 'STAFF' %}Unit | {% endif %}Details | {% if worker_type == 'STAFF' %}On leave | Disabled | {% endif %}
---|---|---|---|---|---|---|---|
{{ forloop.counter }} | {{ worker.first_name }} | {{ worker.last_name }} | {% autoescape off %} {% for language in worker.languages.all %} {{ language.image_img }} {% endfor %} {% endautoescape %} | {% if worker_type == 'STAFF' %}{{ worker.unit }} | {% endif %}Details | {% if worker_type == 'STAFF' %}{% if worker.is_on_leave %} {% else %} {% endif %} | {% if worker.is_active %} DISABLE {% else %} YES {% endif %} | {% endif %}