Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

twig templates - check for was_start_button_clicked instead of empty … #2489

Merged
merged 1 commit into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions php/templates/containers.twig
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand All @@ -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 != '' %}
Expand Down
2 changes: 1 addition & 1 deletion php/templates/includes/aio-config.twig
Original file line number Diff line number Diff line change
@@ -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 %}
Expand Down