Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-12-01 17:33:13 +0300
committerJoas Schilling <coding@schilljs.com>2016-12-01 17:36:22 +0300
commit1aefbed55fab34c4d20b332b6d2ee3d703c6aada (patch)
treea3388a79c57b9144676326071bfb57627f869de9 /lib/public
parent917cac543637016743f5375ce54c5240b0263130 (diff)
Highlight the app name in the notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/RichObjectStrings/Definitions.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php
index 2b35f9ceed1..5f813f089f3 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -96,6 +96,24 @@ class Definitions {
],
],
],
+ 'app' => [
+ 'author' => 'Nextcloud',
+ 'app' => 'updatenotification',
+ 'since' => '11.0.0',
+ 'parameters' => [
+ 'id' => [
+ 'since' => '11.0.0',
+ 'required' => true, 'description' => 'The app id',
+ 'example' => 'updatenotification',
+ ],
+ 'name' => [
+ 'since' => '11.0.0',
+ 'required' => true,
+ 'description' => 'The name of the app which should be used in the visual representation',
+ 'example' => 'Update notification',
+ ],
+ ],
+ ],
'calendar' => [
'author' => 'Nextcloud',
'app' => 'dav',