Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-update the system status in admin dashboard #29163

Merged
merged 15 commits into from
Feb 16, 2024
Merged
Prev Previous commit
Next Next commit
Lint
  • Loading branch information
yardenshoham committed Feb 15, 2024
commit 7f79dbc828b6d2a88a8721e361ae4476ca84018c
2 changes: 1 addition & 1 deletion templates/admin/dashboard.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<h4 class="ui top attached header">
{{ctx.Locale.Tr "admin.dashboard.system_status"}}
</h4>
{{/* TODO: make these stats work in multi-server deployments, likely needs per-server stats in DB */}}
{{/* TODO: make these stats work in multi-server deployments, likely needs per-server stats in DB */}}
<div hx-get="{{$.Link}}/system_status" hx-swap="morph:innerHTML" hx-trigger="every 5s" hx-indicator=".divider" class="ui attached table segment">
yardenshoham marked this conversation as resolved.
Show resolved Hide resolved
{{template "admin/system_status" .}}
</div>
Expand Down
Loading