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
@@ -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