[library-web] move "administrators" menu item before the "developers" one
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] move "administrators" menu item before the "developers" one
- Date: Thu, 13 Aug 2015 14:34:38 +0000 (UTC)
commit 61298537bd1816eefabfbafe61e7c65142b0d84e
Author: Frédéric Péters <fpeters 0d be>
Date: Thu Aug 13 16:19:35 2015 +0200
move "administrators" menu item before the "developers" one
"users" and "administrators" sections share the same website, while
"developers" is on another one; grouping the first two together makes sense.
data/xslt/heading.xsl | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/data/xslt/heading.xsl b/data/xslt/heading.xsl
index 523ac45..cc179b9 100644
--- a/data/xslt/heading.xsl
+++ b/data/xslt/heading.xsl
@@ -65,22 +65,24 @@
select="'userslabel'"/></xsl:call-template>
</a>
</li>
- <li class="menu-item menu-item-type-post_type menu-item-37">
- <xsl:if test="$channel = 'devel'">
+
+ <li class="menu-item menu-item-type-post_type menu-item-40">
+ <xsl:if test="$channel = 'admin'">
<xsl:attribute name="class">current-menu-item</xsl:attribute>
</xsl:if>
- <a href="https://developer.gnome.org/"><xsl:call-template name="gettext"><xsl:with-param
name="lang"
+ <a href="https://help.gnome.org/admin/"><xsl:call-template name="gettext"><xsl:with-param
name="lang"
select="$lang"/><xsl:with-param name="msgid"
- select="'developerslabel'"/></xsl:call-template>
+ select="'sysadminslabel'"/></xsl:call-template>
</a>
</li>
- <li class="menu-item menu-item-type-post_type menu-item-40">
- <xsl:if test="$channel = 'admin'">
+
+ <li class="menu-item menu-item-type-post_type menu-item-37">
+ <xsl:if test="$channel = 'devel'">
<xsl:attribute name="class">current-menu-item</xsl:attribute>
</xsl:if>
- <a href="https://help.gnome.org/admin/"><xsl:call-template name="gettext"><xsl:with-param
name="lang"
+ <a href="https://developer.gnome.org/"><xsl:call-template name="gettext"><xsl:with-param
name="lang"
select="$lang"/><xsl:with-param name="msgid"
- select="'sysadminslabel'"/></xsl:call-template>
+ select="'developerslabel'"/></xsl:call-template>
</a>
</li>
</ul></div> </div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]