stop notification click event propagation

This commit is contained in:
Johannes Zellner
2019-02-28 15:56:19 +01:00
parent c25c3e9daa
commit d09ac5bcc6
2 changed files with 5 additions and 3 deletions

View File

@@ -21,7 +21,7 @@
<div class="row">
<div class="col-xs-12" ng-click="notification.isCollapsed = !notification.isCollapsed" ng-class="{ 'notification-details': notification.detailsShown }">
{{ 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>
<button class="btn btn-xs btn-success pull-right" ng-hide="notification.acknowledged" ng-click="notifications.ack(notification, $event)" uib-tooltip="Clear"><i class="fa fa-check"></i></button>
<div uib-collapse="notification.isCollapsed" expanding="notificationExpanding(notification)">
<br/>