arnaucube
arnaucube/commonroutesAppPublic Self-hosted repository
added icons categories to notifications
arnaucode idoctnef@openmailbox.org
Thu, 13 Jul 2017 20:39:53 +0200
commit

34e8e21ce378975dc3e9709515df75c993f85c0e

parent

9f5e0cab75c0623da8cb004ce0e0fa21b8a35071

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M www/templates/notifications.html → www/templates/notifications.html

@@ -10,7 +10,7 @@ <div class="item-note text-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> - <i ng-show="notification.state=='pendent'" class="icon ion-android-notifications-none o_text_purple600"></i> + <i ng-show="notification.state=='pendent'" class="icon {{notification.icon}} o_text_purple600"></i> <h2>{{notification.message}}</h2> </a> <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}}">

@@ -18,7 +18,7 @@ <div class="item-note text-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> - <i ng-show="notification.state=='viewed'" class="icon ion-android-notifications-none"></i> + <i ng-show="notification.state=='viewed'" class="icon {{notification.icon}}"></i> <h2>{{notification.message}}</h2> </a> </ion-content>