mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: allow missing problem in training (fix #542)
This commit is contained in:
3 files changed
+10
-2
No files matched your search
@@ -892,6 +892,7 @@ Solutions Liked: 题解被赞
|
||||
Solutions: 题解
|
||||
Solve: 解决
|
||||
Solved: 解决
|
||||
Some problems in the training are missing or you do not have permission to view them.: 训练中某些题目缺失或您没有权限查看。
|
||||
Sorry, there are no problems in the problem set.: 题库中没有题目
|
||||
Sorry, there are no training plans.: 目前没有训练计划。
|
||||
Sorry, there are no users in this domain.: 对不起,此域中没有用户。
|
||||
|
||||
@@ -55,6 +55,12 @@
|
||||
<p>{{ _('page.training_detail.invalid_when_not_enrolled') }}</p>
|
||||
</blockquote>
|
||||
{% endif %}
|
||||
{% if missing.length %}
|
||||
<blockquote class="warn">
|
||||
<p>{{ _('Some problems in the training are missing or you do not have permission to view them.') }}</p>
|
||||
<p>{{ missing|join(', ') }}</p>
|
||||
</blockquote>
|
||||
{% endif %}
|
||||
{{ tdoc.description|default('')|markdown|safe }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user