Group Class View | 分組課頁面

[{{currDate}}]

{% for c in data %} {% for p in data[c] %} {% if p == 'cdata' %} {% continue %} {% endif %}

Period {{p}}: {{data[c]['cdata']['name']}}

Grade 年級
Number 座號
Name 姓名
English Name 英文名
Period {{p}} | 第 {{p}} 節
{% set need_fill = namespace(found=false) %} {% set need_ds = namespace(found=false) %} {% if data[c] != None %} {% for grade in data[c][p] %} {% for student in data[c][p][grade] %}
{{grade}}
{{ student }}
{{ data[c][p][grade][student]['name'] }}
{{ data[c][p][grade][student]['ename'] }}
{% if data[c][p][grade][student]['status'] == 'L' %}

𝜑 {{data[c][p][grade][student]['note']}}

{% elif data[c][p][grade][student]['status'] == 'K' %}

{{data[c][p][grade][student]['note']}}

{% elif data[c][p][grade][student]['status'] == 'G' %}

{{data[c][p][grade][student]['note']}}

{% elif data[c][p][grade][student]['status'] == 'S' %}

{{data[c][p][grade][student]['note']}}

{% elif data[c][p][grade][student]['status'] == 'F' %}

{{data[c][p][grade][student]['note']}}

{% elif data[c][p][grade][student]['status'] == 'P' %}

{{data[c][p][grade][student]['note']}}

{% elif data[c][p][grade][student]['status'] == 'O' %}

{{data[c][p][grade][student]['note']}}

{% elif data[c][p][grade][student]['status'] == '--' %}

--

{% elif data[c][p][grade][student]['status'] == 'present' %}

V

{% else %}
{% set need_fill.found = true %}
{% endif %} {% if data[c][p][grade][student]['needDS'] == True %} {% set need_ds.found = true %} {% endif %}
{% endfor %} {% endfor %} {% endif %} {% if need_fill.found %} {% elif need_ds.found %} {% else %} {% endif %}
{% endfor %} {% endfor %}
{% include 'footer.html' %}