r20287 - /scripts/qa/templates/pkginfo
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Thu May 22 12:29:44 UTC 2008
Author: dmn
Date: Thu May 22 12:29:42 2008
New Revision: 20287
URL: http://svn.debian.org/wsvn/?sc=1&rev=20287
Log:
omit more rows with no data
Modified:
scripts/qa/templates/pkginfo
Modified: scripts/qa/templates/pkginfo
URL: http://svn.debian.org/wsvn/scripts/qa/templates/pkginfo?rev=20287&op=diff
==============================================================================
--- scripts/qa/templates/pkginfo (original)
+++ scripts/qa/templates/pkginfo Thu May 22 12:29:42 2008
@@ -5,13 +5,13 @@
[% IF v.keys %]
<table>
[% FOREACH k IN v.keys %]
- [% IF v.$k %]
+ [% IF v.$k.list.size %]
<tr>
<td>${k|html}</td>
<td>[% INCLUDE show v=v.$k %]</td>
</tr>
[% END %]
- [% END # FOREACJ v.keys %]
+ [% END # FOREACH v.keys %]
</table>
[% ELSIF (v.size > 1) %]
<table>
@@ -30,7 +30,7 @@
[% FOREACH s IN sections %]
<tr><th colspan="2">${s.title|html}</th></tr>
[% FOREACH data IN s.data %]
- [% IF data.value %]
+ [% IF data.value.list.size %]
<tr>
<td>${data.key|html}</td>
<td>
More information about the Pkg-perl-cvs-commits
mailing list