mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix training enroll count display
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user