mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: fix sidebar preview (#491)
Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
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 %}
|
||||
Reference in new issue
Block a user