Do not display the table if this one is empty.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@384954 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2006-03-10 23:38:36 +00:00
parent 242b82694f
commit 41eb61eda7

View File

@ -35,6 +35,7 @@
<body>
<section name="Link Check Report">
<p><b><span style="color:#00AA00;text-align:right"><x:expr select="count(file)"/> </span></b> file(s) and <b><span style="color:#00AA00;text-align:right"><x:expr select="sum(file/unsuccessful)+sum(file/successful)"/> </span></b> link(s) checked. <b><span style="color:#FF0000;text-align:right"><x:expr select="count(file/result[status='error'])"/></span></b> error(s) and <b><span style="color:#FFA916;text-align:right"><x:expr select="count(file/result[status='warning'])"/></span></b> warning(s) reported in <b><span style="color:#00AA00;text-align:right"><x:expr select="count(file[unsuccessful!=0])"/> </span></b> file(s).</p>
<x:if select="count(file[unsuccessful!=0]) gt 0">
<table summary="Link Check summary">
<thead>
<tr>
@ -75,6 +76,7 @@
</x:forEach>
</tbody>
</table>
</x:if>
</section>
</body>
</document>