Add webhook notification agent

This commit is contained in:
JonnyWong16 2018-08-12 10:31:27 -07:00
commit 4648e3df5f
5 changed files with 159 additions and 23 deletions

View file

@ -9,7 +9,9 @@
% for item in text:
<div style="padding-bottom: 10px;">
<h4>${item['media_type'].capitalize()}</h4>
% if agent != 'webhook':
<pre>${item['subject']}</pre>
% endif
% if agent != 'scripts':
<pre>${item['body']}</pre>
% endif