commonroutesApp/www/templates/notifications.html
www/templates/notifications.htmlRaw
1<ion-view view-title="{{'Notifications' | translate}}">
2 <ion-content class="has-footer">
3 <ion-refresher pulling-text="{{'Pull_to_refresh' | translate}}..." on-refresh="doRefresh()">
4 </ion-refresher>
5 <div ng-show="!notifications[0]" class="item">
6 No notifications yet
7 </div>
8 <a ng-repeat="notification in notifications | orderBy: '-date'" ng-show="notification.state=='pendent'" class="item item-icon-left item-text-wrap c_deepPurple100" href="#/app/{{notification.link}}">
9 <div class="item-note text-right">
10 <div class="o_text_purple600">{{notification.date | date:"dd/MM"}}</div>
11 <div class="o_text_purple600">{{notification.date | date:"HH:mm:ss"}}</div>
12 </div>
13 <i ng-show="notification.state=='pendent'" class="icon {{notification.icon}} o_text_purple600"></i>
14 <h2>{{notification.message}}</h2>
15 </a>
16 <a ng-repeat="notification in notifications | orderBy: '-date'" ng-show="notification.state=='viewed'" class="item item-icon-left item-text-wrap" href="#/app/{{notification.link}}">
17 <div class="item-note text-right">
18 <div class="o_text_purple600">{{notification.date | date:"dd/MM"}}</div>
19 <div class="o_text_purple600">{{notification.date | date:"HH:mm:ss"}}</div>
20 </div>
21 <i ng-show="notification.state=='viewed'" class="icon {{notification.icon}}"></i>
22 <h2>{{notification.message}}</h2>
23 </a>
24 </ion-content>
25</ion-view>