notifications.jade 571 B

123456789101112131415161718
  1. span(ng-controller="NotificationsController").userNotifications
  2. ul.list-unstyled.notifications-list(
  3. ng-if="notifications.length > 0",
  4. ng-cloak
  5. )
  6. li.notification_entry(
  7. ng-repeat="unreadNotification in notifications",
  8. )
  9. .row(ng-hide="unreadNotification.hide")
  10. .col-xs-12
  11. .alert.alert-info
  12. .row
  13. .col-xs-11
  14. span(ng-bind-html="unreadNotification.html")
  15. .col-xs-1
  16. button(ng-click="dismiss(unreadNotification)").close.pull-right
  17. span(aria-hidden="true") ×
  18. span.sr-only #{translate("close")}