add instances hostname + i18n

This commit is contained in:
Jordan Blasenhauer 2024-08-07 16:34:48 +02:00
parent 9cee47392b
commit 64458799f8
3 changed files with 3 additions and 0 deletions

View file

@ -44,6 +44,7 @@ def instances_builder(instances: List[Instance]) -> str:
containerColumns={"pc": 6, "tablet": 6, "mobile": 12},
pairs=[
{"key": "instances_name", "value": instance.name},
{"key": "instances_hostname", "value": instance.hostname},
{"key": "instances_type", "value": instance.type},
{"key": "instances_method", "value": instance.method},
{"key": "instances_creation_date", "value": instance.creation_date.strftime("%d-%m-%Y %H:%M:%S")},

View file

@ -189,6 +189,7 @@
"home_plugins": "plugins",
"home_no_error": "no error",
"home_errors_found": "errors found",
"instances_name": "name",
"instances_hostname": "hostname",
"instances_type": "type",
"instances_status": "status",

View file

@ -34,6 +34,7 @@ def instances_builder(instances: List[Instance]) -> str:
containerColumns={"pc": 6, "tablet": 6, "mobile": 12},
pairs=[
{"key": "instances_name", "value": instance.name},
{"key": "instances_hostname", "value": instance.hostname},
{"key": "instances_type", "value": instance.type},
{"key": "instances_method", "value": instance.method},
{"key": "instances_creation_date", "value": instance.creation_date.strftime("%d-%m-%Y %H:%M:%S")},