[library-web/responsive] add a link to api reference to the top bar



commit d5ac8f9156d84165710289dd47ed2b604bf785f8
Author: Allan Day <allanpday gmail com>
Date:   Fri Feb 1 16:17:56 2013 +0000

    add a link to api reference to the top bar

 data/catalog.xml.in   |    1 +
 data/xslt/heading.xsl |    9 +++++++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/data/catalog.xml.in b/data/catalog.xml.in
index 6c1e737..3a96f2d 100644
--- a/data/catalog.xml.in
+++ b/data/catalog.xml.in
@@ -94,6 +94,7 @@ find information on tools and methods to work with many GNOME desktops.
   <_msgstr msgid="download-dev-tools">Download GNOME Development Tools</_msgstr>
   <_msgstr msgid="platform-overview">Platform Overview</_msgstr>
   <_msgstr msgid="api-documentation">API Documentation</_msgstr>
+  <_msgstr msgid="api-reference">API Reference</_msgstr>
   <_msgstr msgid="user-interface">User Interface</_msgstr>
   <_msgstr msgid="multimedia">Multimedia</_msgstr>
   <_msgstr msgid="communication">Communication</_msgstr>
diff --git a/data/xslt/heading.xsl b/data/xslt/heading.xsl
index eb3b92e..f516c1f 100644
--- a/data/xslt/heading.xsl
+++ b/data/xslt/heading.xsl
@@ -56,6 +56,15 @@
                     select="'developerslabel'"/></xsl:call-template>
                   </a>
                   </li>
+                  <li class="menu-item menu-item-type-post_type menu-item-37">
+                  <xsl:if test="$channel = 'api-reference'">
+                    <xsl:attribute name="class">current-menu-item</xsl:attribute>
+                  </xsl:if>
+                  <a href="http://developer.gnome.org/api-reference/";><xsl:call-template name="gettext"><xsl:with-param name="lang"
+                    select="$lang"/><xsl:with-param name="msgid"
+                    select="'api-reference'"/></xsl:call-template>
+                  </a>
+                  </li>
 </ul></div>                            </div>
             <div class="right">
                 <form role="search" method="get" id="searchform">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]