diff --git a/app/abilities/quickpost-message.js b/app/abilities/quickpost-message.js deleted file mode 100644 index 5d6cdb029..000000000 --- a/app/abilities/quickpost-message.js +++ /dev/null @@ -1,11 +0,0 @@ -import { Ability } from 'ember-can'; - -export default class QuickpostMessage extends Ability { - get canShow() { - return this.session.hasPermission('quickpost-message.read'); - } - - get canDestroy() { - return this.session.hasPermission('quickpost-message.destroy'); - } -} diff --git a/app/components/quick-post-notification-button.hbs b/app/components/quick-post-notification-button.hbs deleted file mode 100644 index 508aa76ec..000000000 --- a/app/components/quick-post-notification-button.hbs +++ /dev/null @@ -1,17 +0,0 @@ -{{#if notification.isSupported}} - {{#if notification.isEnabled}} - {{#if notification.isSoundEnabled}} - - {{else}} - - {{/if}} - {{else}} - - {{/if}} -{{/if}} \ No newline at end of file diff --git a/app/components/quick-post-notification-button.js b/app/components/quick-post-notification-button.js deleted file mode 100644 index 6be36ae2b..000000000 --- a/app/components/quick-post-notification-button.js +++ /dev/null @@ -1,27 +0,0 @@ -import { inject as service } from '@ember/service'; -import Component from '@ember/component'; - -export default Component.extend({ - session: service(), - notification: service(), - actions: { - sendTest() { - this.notification.new( - 'Test', - 'Dit is een test bericht', - '/images/alphalogonotext.png' - ); - }, - activate() { - this.notification.getPermission(); - }, - disable() { - this.notification.turnOff(); - this.send('sendTest'); - }, - soundOn() { - this.notification.toggleSound(); - this.send('sendTest'); - }, - }, -}); diff --git a/app/components/quick-post.hbs b/app/components/quick-post.hbs deleted file mode 100644 index 40ffd9576..000000000 --- a/app/components/quick-post.hbs +++ /dev/null @@ -1,135 +0,0 @@ -
-
-
-
- -
-
-
- - {{this.session.currentUser.fullName}} - -