Output trigger for notifications on notification types list.
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 1 Dec 2017 15:05:24 +0000 (10:05 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 1 Dec 2017 15:05:24 +0000 (10:05 -0500)
Showing when the notification is triggered by date or by an action.

views/admin/settings/notificationTypes.html

index bb32d76..8d65dbc 100644 (file)
             <th>ID</th>
             <th>Notification</th>
             <th>Subject</th>
+            <th>Trigger</th>
             <th>&nbsp;</th>
         </tr>
     </thead>
                         </div>
                     </td>
                     <td>{$t.subject}</td>
+                    <td>
+                        {if $t.send_by_action.value != 0}
+                            Action:
+                            {$send_action[$t.send_action]}
+                        {else}
+                            {$t.send_date_number}
+                            {$send_date_period[$t.send_date_period]}{if $t.send_date_number}s{/if}
+                            {$send_date_when[$t.send_date_when]}
+                            Due Date
+                        {/if}
+                    </td>
                     <td>
                         <div
                             class="deleteNotificationTypeButton button button-secondary glm-button-small glm-right"