From f6860de28c7d561312b6ba1e6fb67799a08c7306 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 4 Aug 2015 13:03:48 -0700 Subject: [PATCH] rename view/svc_circuit.html to fix links from package reports, #37420 --- httemplate/edit/process/svc_circuit.html | 2 +- httemplate/search/svc_circuit.cgi | 4 ++-- httemplate/view/{svc_circuit.html => svc_circuit.cgi} | 0 httemplate/view/svc_phone.cgi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) mode change 100755 => 100644 httemplate/search/svc_circuit.cgi rename httemplate/view/{svc_circuit.html => svc_circuit.cgi} (100%) diff --git a/httemplate/edit/process/svc_circuit.html b/httemplate/edit/process/svc_circuit.html index 27f43db38..06cd7e70b 100644 --- a/httemplate/edit/process/svc_circuit.html +++ b/httemplate/edit/process/svc_circuit.html @@ -1,7 +1,7 @@ <& elements/svc_Common.html, table => 'svc_circuit', edit_ext => 'html', - redirect => popurl(3)."view/svc_circuit.html?", + redirect => popurl(3)."view/svc_circuit.cgi?", precheck_callback => $precheck, &> <%init> diff --git a/httemplate/search/svc_circuit.cgi b/httemplate/search/svc_circuit.cgi old mode 100755 new mode 100644 index c14c55fdc..8f05e0488 --- a/httemplate/search/svc_circuit.cgi +++ b/httemplate/search/svc_circuit.cgi @@ -3,7 +3,7 @@ 'name' => 'circuit services', 'query' => $query, 'count_query' => $query->{'count_query'}, - 'redirect' => [ popurl(2). "view/svc_circuit.html?", 'svcnum' ], + 'redirect' => [ popurl(2). "view/svc_circuit.cgi?", 'svcnum' ], 'header' => [ '#', 'Provider', 'Type', @@ -60,6 +60,6 @@ if ( $cgi->param('magic') eq 'unlinked' ) { my $query = FS::svc_circuit->search(\%search_hash); -my $link = [ $p.'view/svc_circuit.html?', 'svcnum' ]; +my $link = [ $p.'view/svc_circuit.cgi?', 'svcnum' ]; diff --git a/httemplate/view/svc_circuit.html b/httemplate/view/svc_circuit.cgi similarity index 100% rename from httemplate/view/svc_circuit.html rename to httemplate/view/svc_circuit.cgi diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi index b71e094ad..ab69c4f6f 100644 --- a/httemplate/view/svc_phone.cgi +++ b/httemplate/view/svc_phone.cgi @@ -56,7 +56,7 @@ if ( $conf->exists('svc_phone-lnp') ) { $labels{circuit_label} = mt('Circuit'); push @fields, { field => 'circuit_label', - link => [ $p.'view/svc_circuit.html?', 'circuit_svcnum' ] + link => [ $p.'view/svc_circuit.cgi?', 'circuit_svcnum' ] }; push @fields, 'sip_server'; -- 2.11.0