diff --git a/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html b/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html index d74e28d8d..5b60abe34 100644 --- a/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html +++ b/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html @@ -45,20 +45,20 @@
Type
{{status.database.type}}
Status
-
+
{{status.database.status}} @if (status.database.status === 'OK') { - + } @else { - + }
Migration Status
-
+
@if (status.database.migration_status.unapplied_migrations.length === 0) { - Up to date + Up to date } @else { - {{status.database.migration_status.unapplied_migrations.length}} Pending + {{status.database.migration_status.unapplied_migrations.length}} Pending }
Latest Migration:
{{status.database.migration_status.latest_migration}} @@ -85,50 +85,50 @@
Redis Status
-
+
{{status.tasks.redis_status}} @if (status.tasks.redis_status === 'OK') { - + } @else { - + }
Celery Status
-
+
{{status.tasks.celery_status}} @if (status.tasks.celery_status === 'OK') { - + } @else { - + }
Search Index
-
+
{{status.tasks.index_status}} @if (status.tasks.index_status === 'OK') { @if (isStale(status.tasks.index_last_modified)) { - + } @else { - + } } @else { - + }
Last Updated:
{{status.tasks.index_last_modified | customDate:'medium'}}
Classifier
-
+
{{status.tasks.classifier_status}} @if (status.tasks.classifier_status === 'OK') { @if (isStale(status.tasks.classifier_last_trained)) { - + } @else { - + } } @else { - + }