This commit is contained in:
arnaucode
2017-10-22 20:26:07 +02:00
parent 72f1f2e952
commit e0073cadb3
16 changed files with 184 additions and 111 deletions

View File

@@ -24,8 +24,8 @@
</a>
<a ng-repeat="notification in notifications | orderBy: '-date'" ng-show="notification.state=='viewed'" class="list-group-item" href="#!/{{notification.link}}">
<div class="pull-right">
<div class="o_text_purple600">{{notification.date | date:"dd/MM"}}</div>
<div class="o_text_purple600">{{notification.date | date:"HH:mm:ss"}}</div>
<div class="">{{notification.date | date:"dd/MM"}}</div>
<div class="">{{notification.date | date:"HH:mm:ss"}}</div>
</div>
<i ng-show="notification.state=='viewed'" class="icon {{notification.icon}}"></i>
<h2>{{notification.message}}</h2>

View File

@@ -23,6 +23,7 @@ angular.module('app.notifications', ['ngRoute'])
}
//store the notifications
localStorage.setItem("cr_webapp_notifications", JSON.stringify($scope.notifications));
console.log($scope.notifications);
}, function(data) {
console.log('data error');