parent
3f6f5162e8
commit
84276ee945
10 changed files with 89 additions and 12 deletions
|
@ -26,6 +26,7 @@
|
|||
<table class="co-table permissions" ng-if="notifications.length">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Title</td>
|
||||
<td>Event</td>
|
||||
<td>Notification</td>
|
||||
<td class="options-col"></td>
|
||||
|
@ -34,6 +35,10 @@
|
|||
|
||||
<tbody>
|
||||
<tr class="notification-row" ng-repeat="notification in notifications">
|
||||
<td>
|
||||
{{ notification.title || '(Untitled)' }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<span class="notification-event">
|
||||
<i class="fa fa-lg" ng-class="getEventInfo(notification).icon"></i>
|
||||
|
@ -53,6 +58,16 @@
|
|||
<span class="cor-option" option-click="testNotification(notification)">
|
||||
<i class="fa fa-send"></i> Test Notification
|
||||
</span>
|
||||
<span class="cor-option" option-click="showNotifyInfo(notification, 'url')"
|
||||
ng-if="getMethodInfo(notification).id == 'webhook'">
|
||||
<i class="fa fa-link"></i>
|
||||
View Webhook URL
|
||||
</span>
|
||||
<span class="cor-option" option-click="showNotifyInfo(notification, 'email')"
|
||||
ng-if="getMethodInfo(notification).id == 'email'">
|
||||
<i class="fa fa-envelope"></i>
|
||||
View E-mail Address
|
||||
</span>
|
||||
<span class="cor-option" option-click="showWebhookInfo(notification)"
|
||||
ng-if="getMethodInfo(notification).id == 'webhook'">
|
||||
<i class="fa fa-book"></i>
|
||||
|
|
Reference in a new issue