From 09e299181a1c708e66642be15e2c7329d3d52074 Mon Sep 17 00:00:00 2001 From: Simon L Date: Wed, 3 May 2023 15:32:45 +0200 Subject: [PATCH] twig templates - check for was_start_button_clicked instead of empty domain Signed-off-by: Simon L --- php/templates/containers.twig | 4 ++-- php/templates/includes/aio-config.twig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 282db522..b7afe6b6 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -189,7 +189,7 @@ {% endif %} {% endif %} - {% if domain != "" and was_start_button_clicked == true %} + {% if was_start_button_clicked == true %} {% if current_channel starts with 'latest' or current_channel starts with 'beta' or current_channel starts with 'develop' %} You are running the {{ current_channel }} channel. (Logs)

{% else %} @@ -202,7 +202,7 @@ Reload ↻

{% endif %} - {% if domain != "" %} + {% if was_start_button_clicked == true %} {% if isAnyRunning == true %} {% if isApacheStarting != true %} {% if borg_backup_host_location != '' %} diff --git a/php/templates/includes/aio-config.twig b/php/templates/includes/aio-config.twig index 7428fed8..9f415463 100644 --- a/php/templates/includes/aio-config.twig +++ b/php/templates/includes/aio-config.twig @@ -1,6 +1,6 @@
Click here to view the current AIO config and documentation links
- {% if domain != '' %} + {% if was_start_button_clicked == true %} Nextclouds config.php file is stored in the nextcloud_aio_nextcloud Docker volume and can by edited by following the config.php documentation.

You can run Nextcloud's usual occ commands by following the occ documentation.

{% endif %}