diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-06-17 00:31:09 -0500 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-10-27 23:20:17 -0400 |
commit | 03581a2d9d8cc76d3fb88cbc78da3128b137157a (patch) | |
tree | 15e189b36c617a9655e200eede2a4d076fa52fce /httemplate | |
parent | 793113e437c711b726f3b2fefb3091ff93ddd4d7 (diff) |
RT#39627: System log daily context also includes Cron::bill and Cron::upload results
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/edit/log_email.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/httemplate/edit/log_email.html b/httemplate/edit/log_email.html index 19b415d4d..b79aba986 100644 --- a/httemplate/edit/log_email.html +++ b/httemplate/edit/log_email.html @@ -8,6 +8,12 @@ 'labels' => { '' => '(all)', map { $_ => $_ } @contexts }, 'curr_value' => scalar($cgi->param('context')), }, + { 'field' => 'context_height', + 'type' => 'checkbox', + 'postfix' => 'Only match most specific context', + 'value' => 1, + 'curr_value' => scalar($cgi->param('context_height')), + }, { 'field' => 'min_level', 'type' => 'select', 'options' => [ &FS::Log::levelnums ], @@ -24,6 +30,7 @@ ], 'labels' => { 'context' => 'Context', + 'context_height' => '', 'min_level' => 'Min. Level', 'to_addr' => 'To', 'msgnum' => 'Message', @@ -44,6 +51,10 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right([ 'View system logs', 'Configuration' ]); my $msgnum = $cgi->param('msgnum'); + +# XXX This attempt to set a default message isn't working, not sure why +# $msgnum gets set correctly, but isn't selected in the popup window...fix later + unless ($msgnum) { my ($msg_template) = qsearch('msg_template',{ msgname => 'System log' }); # doesn't seem worth having a config just for the default selected template |