X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Flog_email.html;h=e80b4bc90559935a6f929ba748f5c4f214904caa;hp=0f64dd45464c469942fbb4ef9eefc1ed4beca15d;hb=HEAD;hpb=80c2d997c5c983344c530ecbb46f94f1c299b35f diff --git a/httemplate/browse/log_email.html b/httemplate/browse/log_email.html index 0f64dd454..e80b4bc90 100644 --- a/httemplate/browse/log_email.html +++ b/httemplate/browse/log_email.html @@ -1,4 +1,3 @@ -<% include('/elements/init_overlib.html') %> <% include('/browse/elements/browse.html', 'title' => 'Log email condition configuration', 'name_singular' => 'condition', @@ -21,7 +20,7 @@ ], 'fields' => [ 'logemailnum', sub { $_[0]->context || '(all)' }, - sub { $FS::Log::LEVELS[$_[0]->min_level] }, + sub { $FS::Log::LEVELS{$_[0]->min_level} }, 'msgname', 'to_addr', $actions, @@ -42,6 +41,7 @@ ], ) %> +<% include('/elements/init_overlib.html') %> <%init> @@ -73,15 +73,10 @@ my $actions = sub { qq!(delete)!; }; -my $areyousure_onclick = include('/elements/popup_link_onclick.html', - 'js_action' => q(') . $p . q(misc/delete-log_email.html?logemailnum=' + logemailnum), - 'actionlabel' => 'Delete log email condition', -); - my $areyousure = <