Permalink
Browse files

show PASS and FAIL only if they are not 0

  • Loading branch information...
szabgab committed Oct 25, 2014
1 parent b828446 commit e442f37a10291a7d93fd9c5068b4e10f554738ed
Showing with 3 additions and 3 deletions.
  1. +3 −3 tt/dist.tt
View
@@ -57,12 +57,12 @@
<% END %>
<% IF dist.tests.pass || dist.tests.pass %>
<% IF dist.tests.pass || dist.tests.pass || dist.tests.unknown || dist.tests.na %>
<tr>
<td class="label">CPAN Testers</td>
<td class="cell" colspan="3"><small>
PASS (<% dist.tests.pass %>)&nbsp;&nbsp;
FAIL (<% dist.tests.fail %>)&nbsp;&nbsp;
<% IF dist.tests.pass %>PASS (<% dist.tests.pass %>)&nbsp;&nbsp;<% END %>
<% IF dist.tests.fail %>FAIL (<% dist.tests.fail %>)&nbsp;&nbsp;<% END %>
<% IF dist.tests.unknown %>UNKNOWN (<% dist.tests.unknown %>)&nbsp;&nbsp;<% END %>
<% IF dist.tests.na %>NA (<% dist.tests.na %>)&nbsp;&nbsp;<% END %>
[&nbsp;<a href="http://www.cpantesters.org/distro/<% dist.metadata.name.substr(0, 1) %>/<% dist.metadata.name %>.html#<% dist.name %>">View&nbsp;Reports</a>&nbsp;]

0 comments on commit e442f37

Please sign in to comment.