mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix star in training_detail (fix #1024)
This commit is contained in:
1 file changed
+1
-1
@@ -118,7 +118,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td class="col--name col--problem-name"{% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %} data-star="{{ psdoc.star }}"{% endif %}>
|
<td class="col--name col--problem-name"{% if handler.user.hasPriv(PRIV.PRIV_USER_PROFILE) %} data-star-action="{{ url('problem_detail', pid=pdoc.docId) }}" data-star="{{ psdoc.star }}"{% endif %}>
|
||||||
{{ problem.render_problem_title(
|
{{ problem.render_problem_title(
|
||||||
pdoc,
|
pdoc,
|
||||||
invalid=not tsdoc['enroll'] or nsdict[node['_id']]['isInvalid'],
|
invalid=not tsdoc['enroll'] or nsdict[node['_id']]['isInvalid'],
|
||||||
|
|||||||
Reference in new issue
Block a user