aio-interface: show checkbox for hub 10

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-02-17 11:50:52 +01:00
parent 37b7e22851
commit b60db87321
2 changed files with 3 additions and 3 deletions

View file

@ -171,7 +171,7 @@ readonly class DockerController {
} }
if (isset($request->getParsedBody()['install_latest_major'])) { if (isset($request->getParsedBody()['install_latest_major'])) {
$installLatestMajor = 30; $installLatestMajor = 31;
} else { } else {
$installLatestMajor = ""; $installLatestMajor = "";
} }

View file

@ -33,7 +33,7 @@
{% set isBackupOrRestoreRunning = false %} {% set isBackupOrRestoreRunning = false %}
{% set isApacheStarting = false %} {% set isApacheStarting = false %}
{# Setting newMajorVersion to '' will hide corresponding options/elements, can be set to an integer like 26 in order to show corresponding elements. If set, also increase installLatestMajor in https://github.com/nextcloud/all-in-one/blob/main/php/src/Controller/DockerController.php #} {# Setting newMajorVersion to '' will hide corresponding options/elements, can be set to an integer like 26 in order to show corresponding elements. If set, also increase installLatestMajor in https://github.com/nextcloud/all-in-one/blob/main/php/src/Controller/DockerController.php #}
{% set newMajorVersion = '' %} {% set newMajorVersion = 31 %}
{% if is_backup_container_running == true %} {% if is_backup_container_running == true %}
{% if borg_backup_mode == 'backup' or borg_backup_mode == 'restore' %} {% if borg_backup_mode == 'backup' or borg_backup_mode == 'restore' %}
@ -322,7 +322,7 @@
{% if newMajorVersion != '' and isAnyRunning == true and isApacheStarting != true %} {% if newMajorVersion != '' and isAnyRunning == true and isApacheStarting != true %}
<details> <details>
<summary>Note about <strong>Nextcloud Hub {{ newMajorVersion - 21 }}</strong></summary> <summary>Note about <strong>Nextcloud Hub {{ newMajorVersion - 21 }}</strong></summary>
<p>If you haven't upgraded to Nextcloud Hub {{ newMajorVersion - 21 }} yet and want to do that now, feel free to follow <strong><a href="https://github.com/nextcloud/all-in-one/discussions/5133">this documentation</a></strong></p> <p>If you haven't upgraded to Nextcloud Hub {{ newMajorVersion - 21 }} yet and want to do that now, feel free to follow <strong><a href="https://github.com/nextcloud/all-in-one/discussions/6053">this documentation</a></strong></p>
</details> </details>
{% endif %} {% endif %}
{% endif %} {% endif %}