ui: fix training enroll count display

This commit is contained in:
undefined committed 2021-09-14 17:28:01 +08:00
1 parent 75f490a559
commit 3808d9dda8
3 files changed
+3 -3

No files matched your search

@@ -190,7 +190,7 @@
{% if tsdoc['enroll'] %}
<dt>{{ _('Progress') }}</dt><dd>{{ _('Completed') }} {{ (100 * tsdoc['donePids']|length / pids|length)|round|int }}%</dd>
{% endif %}
<dt>{{ _('Enrollees') }}</dt><dd>{{ tdoc['enroll']|default(0) }}</dd>
<dt>{{ _('Enrollees') }}</dt><dd>{{ tdoc.attend|default(0) }}</dd>
<dt>{{ _('Created By') }}</dt>
<dd>{{ user.render_inline(owner, badge=false) }}</dd>
</dl>