notification system almost implemented at the app

This commit is contained in:
arnaucode
2016-10-18 13:19:51 +02:00
parent 5445a6f8a8
commit 53ccc9c17f
10 changed files with 79 additions and 22 deletions

View File

@@ -0,0 +1,14 @@
<ion-view view-title="{{'Notifications' | translate}} {{user.username}}">
<ion-content>
<div class="item item-body">
<a ng-repeat="notification in notifications | orderBy: '-date'" class="item item-avatar" href="#/app/{{notification.link}}">
<img ng-src="img/{{notification.type}}.png"/>
<h2>{{notification.description}}</h2>
<div class="item-note text-right">
<div class="positive">{{notification.date | date:"dd/MM"}}</div>
<div class="positive">{{notification.date | date:"HH:mm:ss"}}</div>
</div>
</a>
</div>
</ion-content>
</ion-view>