Add a link to external links in the report to open them in a new window

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@390282 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2006-03-30 23:23:20 +00:00
parent f392e3f8ad
commit 7c8435684d

View File

@ -69,7 +69,7 @@
<j:set var="target"><x:expr select="$result/target"/></j:set>
<j:set var="errorMessage"><x:expr select="$result/errorMessage"/></j:set>
<j:if test="${status != 'valid'}">
<img src="images/trans.gif" alt="trans" width="20" height="5" border="0"/><img src="images/icon_${status}_sml.gif" alt="${status}"/><img src="images/trans.gif" alt="trans" width="5" height="5" border="0"/> ${target} - <j:if test="${errorMessage != ''}"><span style="font-style:italic">${errorMessage}</span></j:if><br/>
<img src="images/trans.gif" alt="trans" width="20" height="5" border="0"/><img src="images/icon_${status}_sml.gif" alt="${status}"/><img src="images/trans.gif" alt="trans" width="5" height="5" border="0"/> <j:if test="${target.startsWith('http')}"><a href="${target}" target="_blank" class="newWindow">${target}</a></j:if><j:if test="${!target.startsWith('http')}">${target}</j:if> - <j:if test="${errorMessage != ''}"><span style="font-style:italic">${errorMessage}</span></j:if><br/>
</j:if>
</x:forEach>
</td>