X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Felements%2Fsvc_Common.html;h=38fa90eb9e426f4a0e52fd74a9b1f60957b9f7fe;hb=c4b71bc4459cb7d403cbebede470aeb2c6292a6e;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..38fa90eb9 100644
--- a/httemplate/view/elements/svc_Common.html
+++ b/httemplate/view/elements/svc_Common.html
@@ -18,48 +18,56 @@
# 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") %>