[library-web] move "previous versions" link in its own paragraph
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] move "previous versions" link in its own paragraph
- Date: Sat, 6 Sep 2014 11:24:14 +0000 (UTC)
commit d837c949045e3cb5f938644d50cd5609622d5f05
Author: Frédéric Péters <fpeters 0d be>
Date: Sat Sep 6 12:57:52 2014 +0200
move "previous versions" link in its own paragraph
https://bugzilla.gnome.org/show_bug.cgi?id=735458
data/xslt/common_indexes.xsl | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/data/xslt/common_indexes.xsl b/data/xslt/common_indexes.xsl
index db815e0..63ae309 100644
--- a/data/xslt/common_indexes.xsl
+++ b/data/xslt/common_indexes.xsl
@@ -188,13 +188,6 @@ $lang]"/>
</xsl:otherwise>
</xsl:choose>
</a>
-<xsl:if test="@path and versions/version">
-<xsl:text> </xsl:text>
-<span class="module-more">[<a href="{ modulename}/"><xsl:call-template
- name="gettext"><xsl:with-param name="lang"
- select="@lang"/><xsl:with-param name="msgid"
- select="'more-versions-languages-or-options'"/></xsl:call-template></a>]</span>
-</xsl:if>
<xsl:if test="@href">
<xsl:text> </xsl:text>
<span class="module-more">[<xsl:call-template
@@ -215,6 +208,15 @@ $lang]"/>
select="'upcoming-deprecation'"/></xsl:call-template>
</p>
</xsl:if>
+
+<xsl:if test="@path and versions/version">
+<xsl:text> </xsl:text>
+<p class="module-more"><a href="{ modulename}/"><xsl:call-template
+ name="gettext"><xsl:with-param name="lang"
+ select="@lang"/><xsl:with-param name="msgid"
+ select="'more-versions-languages-or-options'"/></xsl:call-template></a></p>
+</xsl:if>
+
<xsl:if test="count(versions/version) > 1 and versions/version[ keyword = 'unstable']">
<p class="other-versions">
<xsl:call-template name="gettext"><xsl:with-param name="lang"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]