{% extends "layout/basic.html" %} {% block content %}

{{ _('学习积分') }}

{{ domainName }} ({{ domainId }})
{% if messages and messages.length %}
{% for message in messages %}

{{ message }}

{% endfor %}
{% endif %}
{{ taskCount }}{{ _('小结任务') }}
{{ submitCount }}{{ _('小结提交') }}
{{ totalPoints }}{{ _('当前总积分') }}

{{ _('积分榜预览') }}

{% for item in ranking %} {% else %} {% endfor %}
{{ _('排名') }} {{ _('用户') }} {{ _('小组') }} {{ _('总积分') }} {{ _('小结') }} {{ _('比赛') }} {{ _('近期状态') }}
{{ item.rank }} {% if udict[item.uid] %}{{ user.render_inline(udict[item.uid], badge=false) }}{% else %}UID {{ item.uid }}{% endif %} {{ item.groups.join(', ') if item.groups.length else _('无小组') }} {{ item.total }} {{ item.summary }} {{ item.contest }} {{ item.recentStatus }}
{{ _('暂无积分记录') }}

{{ _('优秀小结') }}

{% for submit in excellent %} {% set task = taskDict[submit.taskId.toString()] %}

{% if udict[submit.uid] %}{{ user.render_inline(udict[submit.uid], badge=false) }}{% else %}UID {{ submit.uid }}{% endif %} / {{ task.title if task else submit.taskId }}

{{ submit.content|striptags|truncate(180) }}

{% else %}

{{ _('暂无优秀小结') }}

{% endfor %}

{{ _('最近流水') }}

{% for bill in ledgers %} {% else %} {% endfor %}
{{ _('时间') }} {{ _('用户') }} {{ _('变动') }} {{ _('来源') }} {{ _('原因') }} {{ _('操作人') }} {{ _('操作') }}
{{ datetimeSpan(bill.createdAt)|safe }} {% if udict[bill.uid] %}{{ user.render_inline(udict[bill.uid], badge=false) }}{% else %}UID {{ bill.uid }}{% endif %} {{ bill.amount }} {{ bill.sourceType }} {{ bill.reason }} {% if udict[bill.operator] %}{{ user.render_inline(udict[bill.operator], badge=false) }}{% else %}UID {{ bill.operator }}{% endif %} {% if bill.sourceType == 'summary' %} {{ _('批改页修改') }} {% else %}
{% endif %}
{{ _('暂无流水') }}

{{ _('单人加减分') }}

{{ _('比赛成绩加分') }}

{{ _('近期状态加分') }}

{% endblock %}