lemur/static/app/angular/pending_certificates/pending_certificate/notifications.tpl.html (28 lines of code) (raw):

<div class="form-group"> <label class="control-label col-sm-2"> Notifications </label> <div class="col-sm-10"> <div class="input-group"> <input type="text" ng-model="pendingCertificate.selectedNotification" placeholder="Email" uib-typeahead="notification.label for notification in notificationService.findNotificationsByName($viewValue)" typeahead-loading="loadingDestinations" class="form-control input-md" typeahead-on-select="pendingCertificate.attachNotification($item)" uib-tooltip="By default Lemur will always notify you about this (pending) certificate through Email notifications." uib-tooltip-trigger="focus" tooltip-placement="top" typeahead-wait-ms="500"> <span class="input-group-btn"> <button ng-model="notifications.show" class="btn btn-md btn-default" uib-btn-checkbox btn-checkbox-true="1" btn-checkbox-false="0"> <span class="badge">{{ pendingCertificate.notifications.length || 0 }}</span> </button> </span> </div> <table class="table"> <tr ng-repeat="notification in pendingCertificate.notifications track by $index"> <td><a class="btn btn-sm btn-info" href="#/notifications/{{ notification.id }}/pendingCertificates">{{ notification.label }}</a></td> <td><span class="text-muted">{{ notification.description }}</span></td> <td> <button type="button" ng-click="pendingCertificate.removeNotification($index)" class="btn btn-danger btn-sm pull-right">Remove</button> </td> </tr> </table> </div> </div>