diff --git a/data/web/lang/lang.de-de.json b/data/web/lang/lang.de-de.json index b6229491a..7b4b1f46f 100644 --- a/data/web/lang/lang.de-de.json +++ b/data/web/lang/lang.de-de.json @@ -488,6 +488,7 @@ "chart_this_server": "Chart (dieser Server)", "containers_info": "Container-Information", "container_running": "Läuft", + "container_disabled": "Container gestoppt oder deaktiviert", "container_stopped": "Angehalten", "cores": "Kerne", "current_time": "Systemzeit", diff --git a/data/web/lang/lang.en-gb.json b/data/web/lang/lang.en-gb.json index ce6e2cf8e..00b14f07a 100644 --- a/data/web/lang/lang.en-gb.json +++ b/data/web/lang/lang.en-gb.json @@ -491,6 +491,7 @@ "chart_this_server": "Chart (this server)", "containers_info": "Container information", "container_running": "Running", + "container_disabled": "Container stopped or disabled", "container_stopped": "Stopped", "cores": "Cores", "current_time": "System Time", diff --git a/data/web/templates/debug.twig b/data/web/templates/debug.twig index eb48d54e8..6c96de880 100644 --- a/data/web/templates/debug.twig +++ b/data/web/templates/debug.twig @@ -160,8 +160,14 @@
solr-mailcow + {% if containers["solr-mailcow"].State.Running == 1 %} ({{ containers["solr-mailcow"].Config.Image }}) + {% endif %} + {% if containers["solr-mailcow"].State.Running == 1 %} ({{ lang.debug.started_on }} {{ containers["solr-mailcow"].State.StartedAtHR }}) + {% elseif containers["solr-mailcow"].State.Running != 1 %} + {{ lang.debug.container_disabled }} + {% endif %} {% if containers["solr-mailcow"].State.Running == 1 %} {{ lang.debug.container_running }} @@ -169,19 +175,22 @@ . . - {% elseif containers["solr-mailcow"].State %} + {% elseif containers["solr-mailcow"].State.Running != 1 %} {{ lang.debug.container_stopped }} {% endif %}
+ {% if containers["solr-mailcow"].State.Running == 1 %}
+ {% endif %}
+ {% if containers["solr-mailcow"].State.Running == 1 %}
@@ -238,6 +247,7 @@
+ {% endif %}