-
Notifications
You must be signed in to change notification settings - Fork 90
/
Copy pathnotification-body.html
20 lines (20 loc) · 1.18 KB
/
notification-body.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div uib-dropdown class="pull-right dropdown-kebab-pf" ng-if="notification.actions && notification.actions.length > 0">
<button uib-dropdown-toggle class="btn btn-link" type="button" id="dropdownKebabRight">
<span class="fa fa-ellipsis-v"></span>
</button>
<ul uib-dropdown-menu class="dropdown-menu-right" aria-labelledby="dropdownKebabRight">
<li ng-repeat="action in notification.actions"
role="{{action.isSeparator === true ? 'separator' : 'menuitem'}}"
ng-class="{'divider': action.isSeparator === true, 'disabled': action.isDisabled === true}">
<a ng-if="action.isSeparator !== true" class="secondary-action" title="{{action.title}}" ng-click="$ctrl.customScope.handleAction(notification, action)">
{{action.name}}
</a>
</li>
</ul>
</div>
<span ng-if="notification.status" class="{{'pull-left ' + $ctrl.customScope.getNotficationStatusIconClass(notification)}}"></span>
<span class="drawer-pf-notification-message">{{notification.message}}</span>
<div class="drawer-pf-notification-info">
<span class="date">{{notification.timeStamp | date:'MM/dd/yyyy'}}</span>
<span class="time">{{notification.timeStamp | date:'h:mm:ss a'}}</span>
</div>