From d235a9c128a47876ab36a83ef7f6091db907983c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Mon, 1 Dec 2014 23:07:16 +0100 Subject: [PATCH] display missing dependencies in the apps management page --- settings/css/settings.css | 6 ++++++ settings/templates/apps.php | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/settings/css/settings.css b/settings/css/settings.css index c18d5913b6f..4594a22c6d0 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -200,6 +200,12 @@ span.version { margin-left:1em; margin-right:1em; color:#555; } border-bottom: 1px solid #e8e8e8; } +.missing-dependencies { + list-style: initial; + list-style-type: initial; + list-style-position: inside; +} + /* Transition to complete width! */ .app:hover, .app:active { max-width: inherit; } diff --git a/settings/templates/apps.php b/settings/templates/apps.php index 1ad37000f39..3bb0d45f582 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -51,6 +51,15 @@ {{/if}}

{{/if}} + {{#unless canInstall}} +
t('This app cannot be installed because the following dependencies are not fulfilled:')); ?>
+ + {{/unless}} + {{#if update}} {{/if}} @@ -61,8 +70,10 @@
{{else}} + {{#if canInstall}} "/> {{/if}} + {{/if}} {{#if canUnInstall}} {{/if}} -- 2.39.5