twig templates - check for was_start_button_clicked instead of empty domain

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-05-03 15:32:45 +02:00
parent 844382d220
commit 09e299181a
2 changed files with 3 additions and 3 deletions

View file

@ -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 <a href="https://github.com/nextcloud/all-in-one#how-to-switch-the-channel"><b>{{ current_channel }}</b></a> channel. (<a href="/api/docker/logs?id=nextcloud-aio-mastercontainer">Logs</a>)<br><br>
{% else %}
@ -202,7 +202,7 @@
<a href="" class="button reload">Reload ↻</a><br/><br>
{% endif %}
{% if domain != "" %}
{% if was_start_button_clicked == true %}
{% if isAnyRunning == true %}
{% if isApacheStarting != true %}
{% if borg_backup_host_location != '' %}

View file

@ -1,6 +1,6 @@
<details>
<summary>Click here to view the current AIO config and documentation links</summary><br />
{% 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 <a href="https://github.com/nextcloud/all-in-one#how-to-edit-nextclouds-configphp-file-with-a-texteditor">config.php documentation</a>.<br><br>
You can run Nextcloud's usual occ commands by following the <a href="https://github.com/nextcloud/all-in-one#how-to-run-occ-commands">occ documentation</a></b>.<br><br>
{% endif %}