diff options
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index e7994291f38..ad4e599c98e 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -710,6 +710,22 @@ } }); + if (Boolean(OC.appswebroots.files_reminders) && Boolean(OC.appswebroots.notifications)) { + this.registerAction({ + name: 'SetReminder', + displayName: function(_context) { + return t('files', 'Set reminder'); + }, + mime: 'all', + order: -24, + icon: function(_filename, _context) { + return OC.imagePath('files_reminders', 'remind.svg') + }, + permissions: OC.PERMISSION_READ, + actionHandler: function(_filename, _context) {}, + }); + } + if (!/Android|iPhone|iPad|iPod/i.test(navigator.userAgent)) { this.registerAction({ name: 'EditLocally', |