From 6fda8fa683ab221ab719adaacf994056633ca342 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 10 Mar 2016 01:47:43 -0800 Subject: [PATCH] OLT edit fixes, #35260 --- httemplate/browse/fiber_olt.html | 4 ++-- httemplate/edit/process/olt_site.html | 11 +++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/httemplate/browse/fiber_olt.html b/httemplate/browse/fiber_olt.html index 2355ec023..ec64768dd 100644 --- a/httemplate/browse/fiber_olt.html +++ b/httemplate/browse/fiber_olt.html @@ -6,6 +6,6 @@ 'acl' => 'Configuration', # overrides 'disabled_statuspos' => 3, - 'header' => [ '#', 'Site', 'Name', 'Serial' ], - 'fields' => [ 'oltnum', 'site_description', 'oltname', 'serial' ], + 'header' => [ '#', 'Name', 'Serial', 'Site', ], + 'fields' => [ 'oltnum', 'oltname', 'serial', 'site_description', ], &> diff --git a/httemplate/edit/process/olt_site.html b/httemplate/edit/process/olt_site.html index f328cfefe..8d048a2c6 100644 --- a/httemplate/edit/process/olt_site.html +++ b/httemplate/edit/process/olt_site.html @@ -1,4 +1,11 @@ <& elements/process.html, - table => 'olt_site', - viewall_dir => 'browse', + table => 'olt_site', + viewall_dir => 'browse', + popup_reload => 'Updating', &> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + + -- 2.11.0