summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/Controller/AppSettingsController.php1
-rw-r--r--settings/css/settings.css6
-rw-r--r--settings/templates/apps.php2
3 files changed, 8 insertions, 1 deletions
diff --git a/settings/Controller/AppSettingsController.php b/settings/Controller/AppSettingsController.php
index a8b6d8b242d..f3ef715a235 100644
--- a/settings/Controller/AppSettingsController.php
+++ b/settings/Controller/AppSettingsController.php
@@ -370,6 +370,7 @@ class AppSettingsController extends Controller {
if($app['id'] === $identifier) {
if($newCategory) {
$app['newCategory'] = true;
+ $app['bundleId'] = $bundle->getIdentifier();
$app['categoryName'] = $bundle->getName();
}
$newCategory = false;
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 7e91877773e..82f867ba529 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -518,6 +518,12 @@ input.userFilter {width: 200px;}
/* APPS */
+#apps-list > h2 {
+ display: block;
+ width: 100%;
+ margin-top: 50px;
+ padding-left: 30px;
+}
#app-content > svg.app-filter {
float: left;
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index b3dcbeba233..c3c7a9df379 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -74,7 +74,7 @@ script(
<script id="app-template" type="text/x-handlebars">
{{#if newCategory}}
- <br/><h2>{{categoryName}}</h2>
+ <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}}