You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ca...@apache.org on 2004/08/28 23:12:29 UTC
cvs commit: maven-plugins/pdf/src/plugin-resources fo-cover.xslt
carlos 2004/08/28 14:12:29
Modified: pdf/xdocs changes.xml
pdf/src/plugin-resources fo-cover.xslt
Log:
Show "v." in cover only when version is not empty
Revision Changes Path
1.16 +1 -0 maven-plugins/pdf/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/pdf/xdocs/changes.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- changes.xml 13 Jun 2004 22:55:27 -0000 1.15
+++ changes.xml 28 Aug 2004 21:12:29 -0000 1.16
@@ -23,6 +23,7 @@
</properties>
<body>
<release version="2.2-SNAPSHOT" date="In CVS">
+ <action dev="carlos" type="fix">Show "v." in cover only when version is not empty.</action>
<action dev="aheritier" type="add" issue="MPPDF-10" due-to="M. Sean Gilligan">Add USLetter (8.5"x11") as a paper type.</action>
</release>
<release version="2.1" date="2004-05-15">
1.6 +4 -1 maven-plugins/pdf/src/plugin-resources/fo-cover.xslt
Index: fo-cover.xslt
===================================================================
RCS file: /home/cvs/maven-plugins/pdf/src/plugin-resources/fo-cover.xslt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fo-cover.xslt 5 Mar 2004 10:27:26 -0000 1.5
+++ fo-cover.xslt 28 Aug 2004 21:12:29 -0000 1.6
@@ -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>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org