commit: 7ddb7efc61c82c02ea02b623b0e210fa2f5026b1
Author: Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 23 20:18:59 2014 +0000
Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 20:18:59 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=7ddb7efc
Add explicit space between arrow and text in navigation bar
---
devbook.xsl | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/devbook.xsl b/devbook.xsl
index 1f6bfed..f46c252 100644
--- a/devbook.xsl
+++ b/devbook.xsl
@@ -564,7 +564,7 @@
-->
<xsl:when test="count(/guide/include) > 0">
<xsl:variable name="doc" select="/guide/include[1]/@href"/>
- <a href="{concat($doc, 'index.html')}"><xsl:value-of
select="document(concat(/guide/@self, $doc,
'text.xml'))/guide/chapter[1]/title"/> <span class="glyphicon
glyphicon-arrow-right"/></a>
+ <a href="{concat($doc, 'index.html')}"><xsl:value-of
select="document(concat(/guide/@self, $doc,
'text.xml'))/guide/chapter[1]/title"/>  <span class="glyphicon
glyphicon-arrow-right"/></a>
</xsl:when>
<xsl:otherwise>
<!-- This document's path -->
@@ -597,7 +597,7 @@
<xsl:with-param name="append">../</xsl:with-param>
</xsl:call-template>
</xsl:variable>
- <a href="{concat($relative_path_depth_recursion, $relative_path,
'index.html')}"><xsl:value-of select="document(concat($parentItem_actual,
'text.xml'))/guide/chapter[1]/title"/> <span class="glyphicon
glyphicon-arrow-right"/></a>
+ <a href="{concat($relative_path_depth_recursion, $relative_path,
'index.html')}"><xsl:value-of select="document(concat($parentItem_actual,
'text.xml'))/guide/chapter[1]/title"/>  <span class="glyphicon
glyphicon-arrow-right"/></a>
</xsl:when>
<xsl:otherwise>
<!-- We need to recurse downwards; so we need to strip off a
directory element off our absolute path to feed
@@ -644,7 +644,7 @@
* Fully recurse up the node to get the last extremity
* Otherwise list the parent -->
<xsl:when test="/guide/@root">
- <a href="#"><span class="glyphicon glyphicon-arrow-left"/>
<xsl:value-of select="/guide/chapter[1]/title"/></a>
+ <a href="#"><span class="glyphicon glyphicon-arrow-left"/> 
<xsl:value-of select="/guide/chapter[1]/title"/></a>
</xsl:when>
<xsl:otherwise>
<!-- This document's path -->
@@ -667,10 +667,10 @@
</xsl:call-template>
</xsl:variable>
<!-- Make a relative <a> link; we need an absolute reference for
the XSLT processor though... -->
- <a href="{concat('../', substring-before($myItem_path, 'text.xml'),
'index.html')}"><span class="glyphicon glyphicon-arrow-left"/> <xsl:value-of
select="document(concat($parentItem_path,
$myItem_path))/guide/chapter[1]/title"/></a>
+ <a href="{concat('../', substring-before($myItem_path, 'text.xml'),
'index.html')}"><span class="glyphicon glyphicon-arrow-left"/> 
<xsl:value-of select="document(concat($parentItem_path,
$myItem_path))/guide/chapter[1]/title"/></a>
</xsl:when>
<xsl:otherwise>
- <a href="../index.html"><span class="glyphicon
glyphicon-arrow-left"/> <xsl:value-of select="document(concat(/guide/@self,
'../text.xml'))/guide/chapter[1]/title"/></a>
+ <a href="../index.html"><span class="glyphicon
glyphicon-arrow-left"/>  <xsl:value-of
select="document(concat(/guide/@self,
'../text.xml'))/guide/chapter[1]/title"/></a>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>