1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 16:36:47 +02:00

Implement notifications

This commit is contained in:
Toby Zerner
2015-03-24 15:07:38 +10:30
parent 1d1025dcd2
commit 4a1550215c
34 changed files with 808 additions and 38 deletions

View File

@@ -0,0 +1,11 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['notification'],
classNameBindings: ['notification.isRead::unread'],
click: function() {
console.log('click')
this.get('notification').set('isRead', true).save();
}
});