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,6 +1,6 @@
{% macro render(text, compact=false) %}
{% macro render(text, compact=false, args=[]) %}
<div class="nothing-placeholder{% if compact %} compact{% endif %}">
<div class="nothing-icon"></div>
{{ _(text) }}
{{ _(text).format(args) }}
</div>
{% endmacro %}