Load eventlog details per notification

This commit is contained in:
Johannes Zellner
2019-01-23 16:44:57 +01:00
parent 7424a226c9
commit 031d7a1f18
3 changed files with 27 additions and 6 deletions

View File

@@ -23,11 +23,12 @@
{{ notification.title }} <small class="text-muted" uib-tooltip="{{ notification.creationTime | prettyLongDate }}">{{ notification.creationTime | prettyDate }}</small>
<button class="btn btn-xs btn-success pull-right" ng-hide="notification.acknowledged" ng-click="notifications.ack(notification)" uib-tooltip="Clear"><i class="fa fa-check"></i></button>
<div uib-collapse="notification.isCollapsed">
<div uib-collapse="notification.isCollapsed" expanding="notificationExpanding(notification)">
<br/>
{{ notification.message }}<br/>
<!-- <br/> -->
<!-- <button class="btn btn-primary" ng-show="notification.action" ng-click="notifications.action(notification)"><i class="fa fa-arrow-right"></i> Goto View</button> -->
<br/>
<h2 ng-show="notification.busyLoadEvent" class="text-center"><i class="fa fa-circle-notch fa-spin"></i></h2>
<pre ng-hide="notification.busyLoadEvent" ng-click="$event.stopPropagation();" style="cursor: auto">{{ notification.event.data | json }}</pre>
</div>
</div>
</div>