diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-04-26 01:50:22 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-04-26 20:07:53 +0200 |
commit | b9ebdba7eb16dfddc5ec6bd7bd8ed1b170aab1f3 (patch) | |
tree | 2af57db6cc3cb6fb6a16bd49a4eff2877d8277d3 | |
parent | b2c16b0794ce0a8bedb41a160920a437de6036dd (diff) | |
download | nextcloud-server-b9ebdba7eb16dfddc5ec6bd7bd8ed1b170aab1f3.tar.gz nextcloud-server-b9ebdba7eb16dfddc5ec6bd7bd8ed1b170aab1f3.zip |
Use .installed layout
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
-rw-r--r-- | settings/js/apps.js | 2 | ||||
-rw-r--r-- | settings/templates/apps.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index 79b6af287fd..6bad2cc842c 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -99,7 +99,7 @@ OC.Settings.Apps = OC.Settings.Apps || { return _.extend({level: 0}, app); }); var source; - if (categoryId === 'enabled' || categoryId === 'disabled' || categoryId === 'installed') { + if (categoryId === 'enabled' || categoryId === 'disabled' || categoryId === 'installed' || categoryId === 'app-bundles') { source = $("#app-template-installed").html(); $('#apps-list').addClass('installed'); } else { diff --git a/settings/templates/apps.php b/settings/templates/apps.php index c3c7a9df379..38e515e08b0 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -30,6 +30,9 @@ script( </script> <script id="app-template-installed" type="text/x-handlebars"> +{{#if newCategory}} +<h2>{{categoryName}} <input class="enable" type="submit" data-bundleid="{{bundleId}}" data-active="true" value="<?php p($l->t('Enable all'));?>"/></h2> +{{/if}} <div class="section" id="app-{{id}}"> <div class="app-image app-image-icon"></div> <div class="app-name"> @@ -73,9 +76,6 @@ script( </script> <script id="app-template" type="text/x-handlebars"> - {{#if newCategory}} - <h2>{{categoryName}} <input class="enable" type="submit" data-bundleid="{{bundleId}}" data-active="true" value="<?php p($l->t('Enable all'));?>"/></h2> - {{/if}} <div class="section" id="app-{{id}}"> {{#if preview}} <div class="app-image{{#if previewAsIcon}} app-image-icon{{/if}} icon-loading"> |