X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Flocations.html;h=98c933645cbaada7eaf9b2434807fbb5948394eb;hb=6d138a5407f86e220b7e58f3205a13573d451e43;hp=ea6216ea92951062eef24c84077e5c969205edc7;hpb=88be1de5a77b567c1f610bc510ca386738538488;p=freeside.git
diff --git a/httemplate/view/cust_main/locations.html b/httemplate/view/cust_main/locations.html
index ea6216ea9..98c933645 100755
--- a/httemplate/view/cust_main/locations.html
+++ b/httemplate/view/cust_main/locations.html
@@ -10,7 +10,7 @@ span.loclabel {
% my $packages = $packages_in{$locationnum};
% my $loc = $locations{$locationnum};
% next if $loc->disabled and scalar(@$packages) == 0;
-<% include('/elements/table-grid.html') %>
+<& /elements/table-grid.html &>
% if (! $locationnum) {
-Default service location:
+<% mt('Default service location:') |h %>
% }
% elsif ( $loc->disabled ) {
@@ -34,7 +34,7 @@ Default service location:
% }
|
% if (@$packages) {
-<% include('packages/section.html', 'packages' => $packages ) %>
+<& packages/section.html, 'packages' => $packages &>
% }
% } #foreach $locationnum
@@ -69,8 +69,8 @@ sub edit_location_link {
my $locationnum = shift;
include( '/elements/popup_link.html',
'action' => $p. "edit/cust_location.cgi?locationnum=$locationnum",
- 'label' => '(Edit location)',
- 'actionlabel' => 'Edit',
+ 'label' => '('.emt('Edit location').')',
+ 'actionlabel' => emt('Edit'),
);
}
@@ -78,10 +78,9 @@ sub disable_location_link {
my $locationnum = shift;
include( '/elements/popup_link.html',
'action' => $p. "misc/disable-cust_location.cgi?locationnum=$locationnum",
- 'label' => '(Disable location)',
- 'actionlabel' => 'Disable',
+ 'label' => '('.emt('Disable location').')',
+ 'actionlabel' => emt('Disable'),
);
}
-
%init>