This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/directives/notification-view.html

21 lines
1,003 B
HTML
Raw Normal View History

<div class="notification-view-element">
<div class="notification-content" ng-click="showNotification();">
<div class="circle" ng-class="getClass(notification)"></div>
<div class="message" ng-bind-html="getMessage(notification)"></div>
<div class="orginfo" ng-if="notification.organization">
<span class="avatar" size="24" data="getAvatar(notification.organization)"></span>
<span class="orgname">{{ notification.organization }}</span>
</div>
2014-07-28 22:23:46 +00:00
</div>
<div class="right-controls">
<a ng-if="canDismiss(notification)" ng-click="dismissNotification(notification)" ng-show="!dismissing">
2014-07-28 22:23:46 +00:00
Dismiss Notification
</a>
<span class="cor-loader-inline" ng-show="dismissing"></span>
2014-08-16 01:56:29 +00:00
<button class="btn" ng-class="'btn-' + action.kind" ng-repeat="action in getActions(notification)" ng-click="action.handler(notification)">
{{ action.title }}
</button>
</div>
2014-08-16 01:56:29 +00:00
<div class="datetime">{{ parseDate(notification.created) | date:'medium'}}</div>
</div>