From 4dee614d7c9a723c3174cadaa2972b0c0f30609b Mon Sep 17 00:00:00 2001 From: undefined Date: Sun, 10 Oct 2021 19:12:15 +0800 Subject: [PATCH] ui: training: fix subtitle --- packages/ui-default/templates/training_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui-default/templates/training_detail.html b/packages/ui-default/templates/training_detail.html index 34d230ec7..82cecf023 100644 --- a/packages/ui-default/templates/training_detail.html +++ b/packages/ui-default/templates/training_detail.html @@ -25,7 +25,7 @@

{{ _('Section') }} {{ node['_id'] }}. {{ node['title'].split('\n')[0] }}

- {% if node['title'].split('\n')[1] %}

{{ node['title'].split('\n')[1] }}

{% endif %} + {% if node['title'].split('\n')[1] %}

{{ node['title'].split('\n')[1] }}

{% endif %}

@@ -206,4 +206,4 @@

-{% endblock %} +{% endblock %} \ No newline at end of file