From c0ab585c088081fe0839e6d2a08babac009a7456 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Mon, 15 Apr 2024 15:12:20 +0200 Subject: [PATCH] aio interface - show upgrade hint for 29 Signed-off-by: Simon L --- php/src/Controller/DockerController.php | 2 +- php/templates/containers.twig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/php/src/Controller/DockerController.php b/php/src/Controller/DockerController.php index 06bc52a9..64285e05 100644 --- a/php/src/Controller/DockerController.php +++ b/php/src/Controller/DockerController.php @@ -173,7 +173,7 @@ class DockerController } if (isset($request->getParsedBody()['install_latest_major'])) { - $installLatestMajor = 28; + $installLatestMajor = 29; } else { $installLatestMajor = ""; } diff --git a/php/templates/containers.twig b/php/templates/containers.twig index c4ff2412..a3fd4162 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -28,7 +28,7 @@ {% 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 newMajorVersion = '' %} + {% set newMajorVersion = 29 %} {% if is_backup_container_running == true %} {% if borg_backup_mode == 'backup' or borg_backup_mode == 'restore' %} @@ -292,7 +292,7 @@ {% if newMajorVersion != '' and isAnyRunning == true and isApacheStarting != true %}
Note about Nextcloud {{ newMajorVersion }}
- If you haven't upgraded to Nextcloud {{ newMajorVersion }} yet and want to do that now, feel free to follow this documentation
+ If you haven't upgraded to Nextcloud {{ newMajorVersion }} yet and want to do that now, feel free to follow this documentation

{% endif %} {% endif %}