summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/browse/fiber_olt.html4
-rw-r--r--httemplate/edit/process/olt_site.html11
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');
+
+</%init>