diff options
author | Sean Finney <seanius@debian.org> | 2008-06-11 22:05:56 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2008-06-11 22:05:56 +0200 |
commit | bf1d3cd47db3d28a5f1be77d3676cd2b1af385a9 (patch) | |
tree | 157c0273be1a7b6085245ac349808a986f5c6cbb | |
parent | a1c489e00ec4ead9f5c55dd95d94b6b9e0602306 (diff) | |
download | patch-tracker-bf1d3cd47db3d28a5f1be77d3676cd2b1af385a9.tar.gz |
omit displaying info for empty patches
-rwxr-xr-x | templates/package_vers.tmpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/package_vers.tmpl b/templates/package_vers.tmpl index 7dc77dc..4ecd692 100755 --- a/templates/package_vers.tmpl +++ b/templates/package_vers.tmpl @@ -54,6 +54,7 @@ debian specific patch information for $src.name / $suite <a href="$u/patch/debianonly/dl/$src.name/$src.version">download</a> </td> </tr> +#if $src.diffgz and $diffhandler.nondebiandir.lines <tr> <th>non packaging (i.e. not ./debian) changes</th> <td> @@ -63,11 +64,12 @@ debian specific patch information for $src.name / $suite <a href="$u/patch/nondebian/dl/$src.name/$src.version">download</a> </td> </tr> +#end if </table> #end if -#if $src.diffgz - <h2> Non-packaging "direct" style patches </h2> +#if $src.diffgz and $diffhandler.nondebiandir.lines + <h2> Misc. Non-packaging "direct" style patches </h2> <table class="patchlisting"> <tr> <th>file</th> |