summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Frydrych <tf@linux.intel.com>2010-10-28 16:25:49 +0100
committerTomas Frydrych <tf@linux.intel.com>2010-12-08 07:48:44 +0000
commita12cf8de97134d56737cd558afc8545e9a02f5ad (patch)
tree7b4cf9d2d20e0bdab15169b0263acff1f77e4bed
parent59c12f98ac71c7cfa1adaa55cc3839f02ef71382 (diff)
tweaked draft marker
-rw-r--r--scripts/template.xsl8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/template.xsl b/scripts/template.xsl
index 17a3d0c..1473710 100644
--- a/scripts/template.xsl
+++ b/scripts/template.xsl
@@ -40,9 +40,7 @@
<xsl:choose>
<xsl:when test="$draft.mode = 'yes'">
<fo:inline color="red" font-weight="bold">
- <xsl:call-template name="gentext">
- <xsl:with-param name="key" select="'Draft'"/>
- </xsl:call-template>
+ <xsl:text>***&#xA0;&#xA0;DRAFT&#xA0;&#xA0;***</xsl:text>
</fo:inline>
</xsl:when>
<xsl:when test="$draft.mode = 'no'">
@@ -50,9 +48,7 @@
</xsl:when>
<xsl:when test="ancestor-or-self::*[@status][1]/@status = 'draft'">
<fo:inline color="red" font-weight="bold">
- <xsl:call-template name="gentext">
- <xsl:with-param name="key" select="'Draft'"/>
- </xsl:call-template>
+ <xsl:text>***&#xA0;&#xA0;DRAFT&#xA0;&#xA0;***</xsl:text>
</fo:inline>
</xsl:when>
<xsl:otherwise>