X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Felements%2Fsvc_Common.html;h=2d1201b514a8bfe6140f2a3b287f5cf39a2d735d;hb=28de2695cb889d0dc3d1b3425582f069643edcd9;hp=125fcd0b8e80e88fc0bdb881e1100bd89feb5961;hpb=9f5e5a6ef0aa20bafb200c0bfa9678bbccda127b;p=freeside.git
diff --git a/httemplate/view/elements/svc_Common.html b/httemplate/view/elements/svc_Common.html
index 125fcd0b8..2d1201b51 100644
--- a/httemplate/view/elements/svc_Common.html
+++ b/httemplate/view/elements/svc_Common.html
@@ -18,48 +18,58 @@
# defaults to "edit/$table.cgi?", will have svcnum appended
'edit_url' =>
+
+ #at the very bottom (well, as low as you can go from here)
+ 'html_foot' => '',
+
)
%doc>
+
+
% if ( $custnum ) {
- <% include("/elements/header.html","View $label: $value") %>
+ <& /elements/header.html, mt("View [_1]: [_2]",$label,$value) &>
- <% include( '/elements/small_custview.html', $custnum, '', 1,
- "${p}view/cust_main.cgi") %>
+ <& /elements/small_custview.html, $custnum, '', 1,
+ "${p}view/cust_main.cgi" &>
% } else {
- <% include("/elements/header.html","View $label: $value", menubar(
- "Cancel this (unaudited) $label" =>
+ <& /elements/header.html, mt("View [_1]: [_2]",$label,$value), menubar(
+ emt("Cancel this (unaudited) [_1]",$label) =>
"javascript:areyousure(\'${p}misc/cancel-unaudited.cgi?$svcnum\')"
- )) %>
-
-
+ ) &>
% }
-Service #<% $svcnum %>
+<% mt('Service #') |h %><% $svcnum %>
% my $url = $opt{'edit_url'} || $p. 'edit/'. $opt{'table'}. '.cgi?';
-| Edit this <% $label %>
+<& /view/elements/svc_edit_link.html, 'svc' => $svc_x &>
<% ntable("#cccccc") %>