projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d0cfae6
)
better pretty-printing for array values
author
ivan
<ivan>
Tue, 27 Jul 2010 01:57:05 +0000
(
01:57
+0000)
committer
ivan
<ivan>
Tue, 27 Jul 2010 01:57:05 +0000
(
01:57
+0000)
httemplate/misc/maestro-customer_status-test.html
patch
|
blob
|
history
diff --git
a/httemplate/misc/maestro-customer_status-test.html
b/httemplate/misc/maestro-customer_status-test.html
index
16d4b57
..
a75b88a
100644
(file)
--- a/
httemplate/misc/maestro-customer_status-test.html
+++ b/
httemplate/misc/maestro-customer_status-test.html
@@
-7,10
+7,12
@@
<table style="border:1px solid #000000">
% foreach my $key (keys %$return) {
- <TR>
- <TD ALIGN="right"><% $key %>:</TD>
- <TD><B><% $return->{$key} %></B></TD>
- </TR>
+% my $value = $return->{$key};
+% $value = join(', ', @$value) if ref($value) eq 'ARRAY';
+ <TR>
+ <TD ALIGN="right"><% $key %>:</TD>
+ <TD><B><% $return->{$key} %></B></TD>
+ </TR>
% }
</table>