From b4fa6befdf4b53c1136045e4ced300c058c423d8 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Wed, 23 Aug 2017 20:46:46 -0700 Subject: [PATCH] Fix test script args --- data/interfaces/default/notifier_config.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/data/interfaces/default/notifier_config.html b/data/interfaces/default/notifier_config.html index 6fcc2e4d..df2f4cff 100644 --- a/data/interfaces/default/notifier_config.html +++ b/data/interfaces/default/notifier_config.html @@ -224,6 +224,10 @@

Test if ${notifier['agent_label']} notifications are working. Check the logs for troubleshooting.

+

+ Note: Test with the real values since parameters will not be substituted. + (i.e. Use "Game of Thrones" not {title}) +

% if notifier['agent_name'] == 'scripts':
@@ -235,8 +239,8 @@

Choose the script to test.

- - + +

Set custom arguments passed to the script.

% else: @@ -477,6 +481,7 @@ subject: $('#test_subject').val(), body: $('#test_body').val(), script: $('#test_script').val(), + script_args: $('#test_script_args').val(), notify_action: 'test' }, cache: false,