diff --git a/settings/controller/appsettingscontroller.php b/settings/controller/appsettingscontroller.php index 765fe2d2850..79b7589027b 100644 --- a/settings/controller/appsettingscontroller.php +++ b/settings/controller/appsettingscontroller.php @@ -296,6 +296,9 @@ class AppSettingsController extends Controller { $app['canInstall'] = empty($missing); $app['missingDependencies'] = $missing; + $app['missingMinOwnCloudVersion'] = !isset($app['dependencies']['owncloud']['@attributes']['min-version']); + $app['missingMaxOwnCloudVersion'] = !isset($app['dependencies']['owncloud']['@attributes']['max-version']); + return $app; }, $apps); diff --git a/settings/templates/apps.php b/settings/templates/apps.php index 7213d552c08..94efd76c7c2 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -97,6 +97,18 @@ script(
t("Show description …"));?>
+ {{#if missingMinOwnCloudVersion}} +
+

t('This app has no minimum ownCloud version assigned. This will be an error in ownCloud 11 and later.')); ?>

+
+ {{else}} + {{#if missingMaxOwnCloudVersion}} +
+

t('This app has no maximum ownCloud version assigned. This will be an error in ownCloud 11 and later.')); ?>

+
+ {{/if}} + {{/if}} + {{#unless canInstall}}

t('This app cannot be installed because the following dependencies are not fulfilled:')); ?>