summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-11 15:24:36 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-11 15:24:36 +0100
commit95fc5addec189d21f4d714e3863c81d85d95ce09 (patch)
treebe1fd3bfdb273b659068c6033325a5854aed3797 /settings/templates
parent5a03e0a5cf30f4ad5cecd7a90ad3bc2a004770aa (diff)
downloadnextcloud-server-95fc5addec189d21f4d714e3863c81d85d95ce09.tar.gz
nextcloud-server-95fc5addec189d21f4d714e3863c81d85d95ce09.zip
adjust styling of missing dependencies in apps management
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/apps.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index 3bb0d45f582..48fe0f5a9c9 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -52,12 +52,14 @@
</p>
{{/if}}
{{#unless canInstall}}
- <div><?php p($l->t('This app cannot be installed because the following dependencies are not fulfilled:')); ?></div>
+ <div class="app-dependencies">
+ <p><?php p($l->t('This app cannot be installed because the following dependencies are not fulfilled:')); ?></p>
<ul class="missing-dependencies">
{{#each missingDependencies}}
<li>{{this}}</li>
{{/each}}
</ul>
+ </div>
{{/unless}}
{{#if update}}
@@ -70,9 +72,7 @@
<br />
<input type="hidden" id="group_select" title="<?php p($l->t('All')); ?>" style="width: 200px">
{{else}}
- {{#if canInstall}}
- <input class="enable" type="submit" data-appid="{{id}}" data-active="false" value="<?php p($l->t("Enable"));?>"/>
- {{/if}}
+ <input class="enable" type="submit" data-appid="{{id}}" data-active="false" {{#unless canInstall}}disabled="disabled"{{/unless}} value="<?php p($l->t("Enable"));?>"/>
{{/if}}
{{#if canUnInstall}}
<input class="uninstall" type="submit" value="<?php p($l->t('Uninstall App')); ?>" data-appid="{{id}}" />