summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Frydrych <tf@linux.intel.com>2010-10-28 16:32:56 +0100
committerTomas Frydrych <tf@linux.intel.com>2010-12-08 07:48:45 +0000
commit5036c010682036c78d056e17967835f60e2de37a (patch)
tree04b211f4e24093956e957bf18897a46bdea05190
parenta12cf8de97134d56737cd558afc8545e9a02f5ad (diff)
again tweak the draft markers
-rw-r--r--scripts/template.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/template.xsl b/scripts/template.xsl
index 1473710..15ec70a 100644
--- a/scripts/template.xsl
+++ b/scripts/template.xsl
@@ -39,17 +39,17 @@
<xsl:template name="draft.text">
<xsl:choose>
<xsl:when test="$draft.mode = 'yes'">
- <fo:inline color="red" font-weight="bold">
+ <fo:block text-align="center" color="red" font-weight="bold">
<xsl:text>***&#xA0;&#xA0;DRAFT&#xA0;&#xA0;***</xsl:text>
- </fo:inline>
+ </fo:block>
</xsl:when>
<xsl:when test="$draft.mode = 'no'">
<!-- nop -->
</xsl:when>
<xsl:when test="ancestor-or-self::*[@status][1]/@status = 'draft'">
- <fo:inline color="red" font-weight="bold">
+ <fo:block text-align="center" color="red" font-weight="bold">
<xsl:text>***&#xA0;&#xA0;DRAFT&#xA0;&#xA0;***</xsl:text>
- </fo:inline>
+ </fo:block>
</xsl:when>
<xsl:otherwise>
<!-- nop -->