diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2015-10-23 16:17:51 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2015-10-23 16:17:51 -0700 |
| commit | 80c2d997c5c983344c530ecbb46f94f1c299b35f (patch) | |
| tree | 28bafc1d55836acb5455e6554941c06f0912ef98 /httemplate/edit/process/log_email.html | |
| parent | 3b1a5e8789d76f0581079d07190664f57bd773a3 (diff) | |
| parent | 0806f9fdbf2086671c151b3bcb078dc008e96f6c (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/edit/process/log_email.html')
| -rw-r--r-- | httemplate/edit/process/log_email.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/httemplate/edit/process/log_email.html b/httemplate/edit/process/log_email.html new file mode 100644 index 000000000..769e180a8 --- /dev/null +++ b/httemplate/edit/process/log_email.html @@ -0,0 +1,18 @@ +<% include('elements/process.html', + 'table' => 'log_email', + %processopts + ) %> +<%init> + +my %opts = @_; + +my $curuser = $FS::CurrentUser::CurrentUser; + +die "access denied" + unless $curuser->access_right([ 'View system logs', 'Configuration' ]); + +my %processopts = $opts{'popup'} + ? ( 'popup_reload' => 'Logging email added' ) + : ( 'redirect' => $fsurl.'browse/log_email.html?' ); # id will be needlessly appended, should be harmless + +</%init> |
