Allow dashboard to refresh from backend, or refresh with new data format when switching from custom to default

This commit is contained in:
Stephen Abello
2026-02-03 09:15:41 +01:00
parent 2ff183a78a
commit 73e6a0af8a
6 changed files with 190 additions and 53 deletions

View File

@@ -8,10 +8,16 @@
{{ render_block(oUIBlock.GetToolbar(), {aPage: aPage}) }}
</div>
{% endif %}
<ibo-dashboard id="{{ oUIBlock.GetId() }}" class="ibo-dashboard" data-role="ibo-dashboard" data-edit-mode="view">
<ibo-dashboard id="{{ oUIBlock.GetId() }}"
class="ibo-dashboard"
data-role="ibo-dashboard"
data-edit-mode="view"
data-file="{{ oUIBlock.GetFile() }}"
data-is-custom="{{ oUIBlock.IsCustom() ? 'true' : 'false' }}"
>
<div class="ibo-dashboard--form">
<div class="ibo-dashboard--form--inputs">
Editing{{ render_block(oUIBlock.GetTitleInput(), {aPage: aPage}) }}{{ render_block(oUIBlock.GetRefreshInput(), {aPage: aPage}) }}
Editing {{ render_block(oUIBlock.GetTitleInput(), {aPage: aPage}) }}{{ render_block(oUIBlock.GetRefreshInput(), {aPage: aPage}) }}
</div>
<div class="ibo-dashboard--form--actions">
{{ render_block(oUIBlock.GetButtonsToolbar(), {aPage: aPage}) }}