From 9652e39be25c62261706cc72d8bc20b990f472aa Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Fri, 13 Feb 2026 09:33:03 +0100 Subject: [PATCH] aio-interface: offer checkbox to install the new hub release Signed-off-by: Simon L. --- php/src/Controller/DockerController.php | 2 +- php/templates/containers.twig | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/php/src/Controller/DockerController.php b/php/src/Controller/DockerController.php index 81b920d0..a4da3e62 100644 --- a/php/src/Controller/DockerController.php +++ b/php/src/Controller/DockerController.php @@ -178,7 +178,7 @@ readonly class DockerController { } if (isset($request->getParsedBody()['install_latest_major'])) { - $installLatestMajor = '32'; + $installLatestMajor = '33'; } else { $installLatestMajor = ''; } diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 8e437bc2..07073c65 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -37,7 +37,8 @@ {% set isBackupOrRestoreRunning = 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 #} - {% set newMajorVersionString = '' %} + {% set newMajorVersionString = '26 Winter' %} + {% set oldMajorVersionString = '25 Autumn' %} {% if is_backup_container_running == true %} {% if borg_backup_mode == 'backup' or borg_backup_mode == 'restore' %} @@ -297,7 +298,7 @@ {% if newMajorVersionString != '' and isAnyRunning == true and isApacheStarting != true %}
Note about Nextcloud Hub {{ newMajorVersionString }} -

If you haven't upgraded to Nextcloud Hub {{ newMajorVersionString }} yet and want to do that now, feel free to follow this documentation

+

If you haven't upgraded to Nextcloud Hub {{ newMajorVersionString }} yet and want to do that now, feel free to follow this documentation

{% endif %} {% endif %} @@ -343,7 +344,7 @@ {% if newMajorVersionString != '' %} -
+
{% endif %}