ui: training: fix subtitle

This commit is contained in:
undefined committed 2021-10-10 19:12:15 +08:00
1 parent 81076b4899
commit 4dee614d7c
1 file changed
+2 -2
@@ -25,7 +25,7 @@
<div class="section__header clearfix">
<div class="float-left">
<h1 data-heading id="node-{{ node._id }}" class="section__title">{{ _('Section') }} {{ node['_id'] }}. {{ node['title'].split('\n')[0] }}</h1>
{% if node['title'].split('\n')[1] %}<h2 class="section__title">{{ node['title'].split('\n')[1] }}</h2>{% endif %}
{% if node['title'].split('\n')[1] %}<h4>{{ node['title'].split('\n')[1] }}</h4>{% endif %}
</div>
<div class="float-right">
<h1 class="section__title training-section-status--text {% if nsdict[node['_id']]['isDone'] %}done{% elif nsdict[node['_id']]['isProgress'] %}progress{% elif nsdict[node['_id']]['isOpen'] %}open{% else %}invalid{% endif %}">
@@ -206,4 +206,4 @@
</div></div>
</div>
</div>
{% endblock %}
{% endblock %}