{% extends 'base.html' %} {% load i18n %} {% block title %}{% trans "週會排程" %} - 1218 Lab{% endblock %} {% block content %}

{% trans "週會排程" %}

{% trans "資料庫狀態: 已同步儲存" %} {% blocktrans with y1=m1_year m1=m1_month y2=m2_year m2=m2_month %}{{ y1 }}年{{ m1 }}月 & {{ y2 }}年{{ m2 }}月{% endblocktrans %} {% if user.is_authenticated %}
{% csrf_token %}
{% endif %}
{% trans "週會報告排程規則" %}
{% trans "博士在職生" %}
{% trans "排程頻率: 每 2 個月 1 次" %}
{% trans "博士一般生" %}
{% trans "排程頻率: 每月 1 次" %}
{% trans "碩士生 (一般 & 在職)" %}
{% trans "排程頻率: 每月 1 次" %}
{% trans "學士生" %}
{% trans "排程頻率: 每月 1 次" %}
{% trans "交換生 (交換中)" %}
{% trans "排程狀態: 免報告" %}
{% trans "經調整後但仍未能報告者,須準備一小時之進度簡報,當週向指導教授當面報告,次週週會補報。若連續兩次應報告而未報告,將視同解除指導關係。" %}
{% if user.is_authenticated %}
{% trans "拖曳排程微調提示:" %}{% trans "您已登入系統,可將學生列直接拖曳 (Drag & Drop) 至其他週一日期卡片中調整報告時間。系統將會在寫入資料庫前自動驗證報告頻率規則,並詳細記錄您的變更日誌。" %}
{% else %}
{% trans "檢視模式:" %}{% trans "登入系統後,可拖曳學生調整報告日期。" %}
{% endif %}

{% blocktrans with year=m1_year month=m1_month %}{{ year }} 年 {{ month }} 月週會排程 (當月){% endblocktrans %}

{% for item in schedule_m1 %}
{% blocktrans with date_str=item.formatted %}{{ date_str }} (星期一){% endblocktrans %}
{% if item.students|length > 1 %} {% blocktrans with count=item.students|length %}{{ count }} 位報告者{% endblocktrans %} {% else %} {% blocktrans with count=item.students|length %}{{ count }} 位報告者(單數){% endblocktrans %} {% endif %}
{% if item.students %}
{% for student in item.students %} {% if user.is_authenticated %} {% else %} {% endif %} {% endfor %}
{% trans "姓名" %} {% trans "學位類別" %} {% trans "身分類別" %}
{% if user.is_authenticated %}{% endif %}{{ student.name }} {% if student.degree_type == '博士生' %} {% trans "博士生" %} {% elif student.degree_type == '學士生' %} {% trans "學士生" %} {% else %} {% trans "碩士生" %} {% endif %} {% if student.student_category == '在職生' %} {% trans "在職生" %} {% elif student.student_category == '交換中' %} {% trans "交換中" %} {% else %} {% trans "一般生" %} {% endif %}
{% else %} {% if item.is_past %}

{% trans "不可將報告日期移轉至早於今天" %}

{% else %}

{% trans "當日無排定報告者 (可拖曳學生至此)" %}

{% endif %} {% endif %}
{% endfor %}

{% blocktrans with year=m2_year month=m2_month %}{{ year }} 年 {{ month }} 月週會排程 (下月){% endblocktrans %}

{% for item in schedule_m2 %}
{% blocktrans with date_str=item.formatted %}{{ date_str }} (星期一){% endblocktrans %}
{% if item.students|length > 1 %} {% blocktrans with count=item.students|length %}{{ count }} 位報告者{% endblocktrans %} {% else %} {% blocktrans with count=item.students|length %}{{ count }} 位報告者(單數){% endblocktrans %} {% endif %}
{% if item.students %}
{% for student in item.students %} {% if user.is_authenticated %} {% else %} {% endif %} {% endfor %}
{% trans "姓名" %} {% trans "學位類別" %} {% trans "身分類別" %}
{% if user.is_authenticated %}{% endif %}{{ student.name }} {% if student.degree_type == '博士生' %} {% trans "博士生" %} {% elif student.degree_type == '學士生' %} {% trans "學士生" %} {% else %} {% trans "碩士生" %} {% endif %} {% if student.student_category == '在職生' %} {% trans "在職生" %} {% elif student.student_category == '交換中' %} {% trans "交換中" %} {% else %} {% trans "一般生" %} {% endif %}
{% else %} {% if item.is_past %}

{% trans "不可將報告日期移轉至早於今天" %}

{% else %}

{% trans "當日無排定報告者 (可拖曳學生至此)" %}

{% endif %} {% endif %}
{% endfor %}
{% trans "學生個人報告統計明細 (兩月排程核對)" %}
{% for row in summary_data %} {% empty %} {% endfor %}
{% trans "姓名" %} {% trans "身份 / 規則" %} {% trans "排定報告日期 (Mondays)" %} {% trans "應報告次數" %}
{{ row.student.name }} {{ row.rule_desc }} {% if row.assigned_dates %} {% for d in row.assigned_dates %} {{ d }} {% endfor %} {% else %} {% trans "免報告" %} {% endif %} {% if row.total_count > 1 %} {% blocktrans with count=row.total_count %}{{ count }} 次{% endblocktrans %} {% elif row.total_count == 1 %} {% blocktrans with count=row.total_count %}{{ count }} 次(單數){% endblocktrans %} {% else %} {% trans "0 次" %} {% endif %}
{% trans "無在學學生資料" %}
{% endblock %} {% block scripts %} {% if user.is_authenticated %} {% endif %} {% endblock %}