diff --git a/php/public/index.php b/php/public/index.php index 8e5cf6fa2de4..c85dc0cfc2d4 100644 --- a/php/public/index.php +++ b/php/public/index.php @@ -88,6 +88,7 @@ 'has_update_available' => $dockerActionManger->isAnyUpdateAvailable(), 'last_backup_time' => $configurationManager->GetLastBackupTime(), 'backup_times' => $configurationManager->GetBackupTimes(), + 'current_channel' => $configurationManager->GetCurrentChannel(), ]); })->setName('profile'); $app->get('/login', function ($request, $response, $args) use ($container) { diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 6db212e18bc0..3875d266daa1 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -19,6 +19,8 @@

Nextcloud AIO Beta v0.6.0

This is beta software and not production ready.

+ You are currently running the {{ current_channel }} channel.

+ {% set isAnyRunning = false %} {% set isWatchtowerRunning = false %} {% set isBackupContainerRunning = false %} @@ -170,7 +172,14 @@ {% else %} - ⚠ A mastercontainer update is available. Please stop your containers in order to be able to update the mastercontainer. + ⚠ A mastercontainer update is available. Please stop your containers in order to be able to update the mastercontainer.

+ {% endif %} + {% if current_channel starts with 'latest' %} + You can find the changelog here

+ {% elseif current_channel starts with 'beta' %} + You can find the changelog here

+ {% elseif current_channel starts with 'develop' %} + You can find all changes here

{% endif %} {% endif %} {% endif %}