diff options
author | Mariano Guerra <[email protected]> | 2016-10-21 17:21:06 +0100 |
---|---|---|
committer | Mariano Guerra <[email protected]> | 2017-03-13 11:51:52 +0100 |
commit | 65bba4855da0e4c753222f947cc065b534946e54 (patch) | |
tree | 819787fc77b899428ccbe6c0cbd8e17c13718c2a | |
parent | 985d1a0f274048cc891b49d68e7d905f19643c48 (diff) | |
download | otp-65bba4855da0e4c753222f947cc065b534946e54.tar.gz otp-65bba4855da0e4c753222f947cc065b534946e54.tar.bz2 otp-65bba4855da0e4c753222f947cc065b534946e54.zip |
split logo from top menu to change menu order
-rw-r--r-- | lib/erl_docgen/priv/xsl/db_html.xsl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl index c3e7352f7b..91d830a667 100644 --- a/lib/erl_docgen/priv/xsl/db_html.xsl +++ b/lib/erl_docgen/priv/xsl/db_html.xsl @@ -796,7 +796,7 @@ </xsl:template> - <xsl:template name="menu_top"> + <xsl:template name="erlang_logo"> <xsl:choose> <xsl:when test="string-length($logo) > 0"> <div class="erlang-logo-wrapper"> @@ -809,7 +809,9 @@ </div> </xsl:otherwise> </xsl:choose> + </xsl:template> + <xsl:template name="menu_top"> <ul class="panel-sections"> <xsl:if test="boolean(/book/parts/part)"> <li><a href="users_guide.html">User's Guide</a></li> @@ -1251,6 +1253,8 @@ <div id="leftnav"> <div class="innertube"> + <xsl:call-template name="erlang_logo"/> + <p class="section-title"><xsl:value-of select="/book/header/title"/></p> <p class="section-subtitle">User's Guide</p> <p class="section-version">Version <xsl:value-of select="$appver"/></p> @@ -1410,6 +1414,8 @@ <div id="leftnav"> <div class="innertube"> + <xsl:call-template name="erlang_logo"/> + <p class="section-title"><xsl:value-of select="/book/header/title"/></p> <p class="section-subtitle">Reference Manual</p> <p class="section-version">Version <xsl:value-of select="$appver"/></p> @@ -2249,6 +2255,8 @@ <div id="leftnav"> <div class="innertube"> + <xsl:call-template name="erlang_logo"/> + <p class="section-title"><xsl:value-of select="/book/header/title"/></p> <p class="section-subtitle">Release Notes</p> <p class="section-version">Version <xsl:value-of select="$appver"/></p> |