Add button to show older notifications

This commit is contained in:
Johannes Zellner
2019-01-08 13:37:49 +01:00
parent 5ab390c3db
commit 98b4cd330f
2 changed files with 11 additions and 4 deletions
+4 -1
View File
@@ -298,7 +298,7 @@
</div>
<div class="row" ng-hide="notifications.busy">
<div class="col-xs-12">
<table class="table table-hover" style="margin-bottom: 0;">
<table class="table table-hover">
<tbody ng-repeat="notification in notifications.notifications">
<tr ng-class="{ 'notification-details': notifications.activeNotification === notification }">
<td class="text-left hand elide-table-cell" ng-click="notifications.clicked(notification)">
@@ -316,6 +316,9 @@
</tr>
</tbody>
</table>
<div class="col-md-12 text-center">
<button class="btn btn-outline btn-xs btn-default" ng-click="notifications.showOld()">Show older Notifications</button>
</div>
</div>
</div>
</div>