Show "v." in cover only when version is not empty

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116015 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
carlos committed 2004-08-28 21:12:29 +00:00
1 parent 6d1dabfed9
commit f00cff75d6
2 files changed
+5 -1

No files matched your search

+4 -1
View File
@@ -97,7 +97,10 @@
</fo:table-cell>
<fo:table-cell number-columns-spanned="2" xsl:use-attribute-sets="cover.border.left">
<fo:block xsl:use-attribute-sets="cover.title" text-align="left" display-align="center" space-after="0.5in">
<xsl:value-of select="$coverProjectName"/> v.<xsl:value-of select="$coverVersion"/>
<xsl:value-of select="$coverProjectName"/>
<xsl:if test="normalize-space($coverVersion) != ''">
v.<xsl:value-of select="$coverVersion"/>
</xsl:if>
</fo:block>
</fo:table-cell>
</fo:table-row>