summaryrefslogtreecommitdiffstats
path: root/settings/Controller/AppSettingsController.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-25 13:24:51 +0200
committerJulius Härtl <jus@bitgrid.net>2018-06-06 11:40:09 +0200
commit492b76935c29b931c991d978b6883eb2d072cf43 (patch)
tree146b4513b4e2399b7348a2af0924112ab2374343 /settings/Controller/AppSettingsController.php
parentc7f145cce125153949a6356e8f5b6cfa997b0c35 (diff)
downloadnextcloud-server-492b76935c29b931c991d978b6883eb2d072cf43.tar.gz
nextcloud-server-492b76935c29b931c991d978b6883eb2d072cf43.zip
Add link to developer docs and fix view if appstore is disabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/Controller/AppSettingsController.php')
-rw-r--r--settings/Controller/AppSettingsController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/Controller/AppSettingsController.php b/settings/Controller/AppSettingsController.php
index 5aaee1871db..ac6e5d1850d 100644
--- a/settings/Controller/AppSettingsController.php
+++ b/settings/Controller/AppSettingsController.php
@@ -145,6 +145,7 @@ class AppSettingsController extends Controller {
$params['appstoreEnabled'] = $this->config->getSystemValue('appstoreenabled', true) === true;
$params['urlGenerator'] = $this->urlGenerator;
$params['updateCount'] = count($this->getAppsWithUpdates());
+ $params['developerDocumentation'] = $this->urlGenerator->linkToDocs('developer-manual');
$this->navigationManager->setActiveEntry('core_apps');
$templateResponse = new TemplateResponse('settings', 'settings', ['serverData' => $params]);
@@ -255,6 +256,7 @@ class AppSettingsController extends Controller {
'id' => $app['id'],
'name' => isset($app['translations'][$currentLanguage]['name']) ? $app['translations'][$currentLanguage]['name'] : $app['translations']['en']['name'],
'description' => isset($app['translations'][$currentLanguage]['description']) ? $app['translations'][$currentLanguage]['description'] : $app['translations']['en']['description'],
+ 'summary' => isset($app['translations'][$currentLanguage]['summary']) ? $app['translations'][$currentLanguage]['summary'] : $app['translations']['en']['summary'],
'license' => $app['releases'][0]['licenses'],
'author' => $authors,
'shipped' => false,