summaryrefslogtreecommitdiff
path: root/httemplate/view/elements/svc_Common.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/elements/svc_Common.html')
-rw-r--r--httemplate/view/elements/svc_Common.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/httemplate/view/elements/svc_Common.html b/httemplate/view/elements/svc_Common.html
index 8a352f3fa..618d33eed 100644
--- a/httemplate/view/elements/svc_Common.html
+++ b/httemplate/view/elements/svc_Common.html
@@ -18,6 +18,10 @@
# 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>
@@ -56,12 +60,14 @@ Unprovision this Service</A>
% foreach my $f ( @$fields ) {
%
-% my($field, $type);
+% my($field, $type, $value);
% if ( ref($f) ) {
% $field = $f->{'field'},
+% $value = $f->{'value'} ? &{ $f->{'value'} }($svc_x) : $svc_x->$field;
% $type = $f->{'type'} || 'text',
% } else {
% $field = $f;
+% $value = $svc_x->$field;
% $type = 'text';
% }
%
@@ -78,7 +84,7 @@ Unprovision this Service</A>
% #eventually more options for <SELECT>, etc. fields
- <TD BGCOLOR="#ffffff"><% $svc_x->$field %><TD>
+ <TD BGCOLOR="#ffffff"><% $value %><TD>
</TR>