yksa-web-kit/yksa_web/templates/yksa/ui/_empty.html
2026-08-17 22:42:04 +08:00

11 lines
428 B
HTML

{% comment %}
Nothing to show, said the same way everywhere.
{% trans "No widgets yet." as empty_text %}
{% include "yksa/ui/_empty.html" with text=empty_text %}
When you can offer the action that resolves the emptiness, build the row inline
with the same `.yksa-empty` class so the action sits beside the sentence rather
than under it.
{% endcomment %}
<div class="yksa-empty justify-content-center">{{ text }}</div>