core&ui: fix sidebar preview (#491)

Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
undefinedandpanda authored and GitHub committed 2023-01-18 18:32:04 +08:00
1 parent feb3b5cecb
commit feb5180476
19 files changed
+152 -244

No files matched your search

@@ -1,7 +1,7 @@
<div class="section__body typo" data-fragment-id="problem-description">
{% if not pdoc.data.length and not pdoc.reference %}
<blockquote class="warn">
<p>{{ _('No testdata at current.') }}</p>
<p>{{ _('No {0} at current.').format(_("testdata")) }}</p>
</blockquote>
{% endif %}
{% if typeof(pdoc.config) == 'string' %}