summaryrefslogtreecommitdiff
path: root/help3xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2024-06-17 12:21:49 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2024-06-19 15:45:26 +0200
commitb80910b523d23afe7d4bb6c59a443eb429003faf (patch)
tree55b985af18ad7516ce165a9cc38ed535f02a5604 /help3xsl
parent8e4ae81a9af01da98b6aab160178f7f4e5b08dfe (diff)
tdf#154226 Add link to LO books on Help pages
Added a row of icons on the footer of the Help pages. Change-Id: I40e1e697e5defa21ba3fb6f93198489ac401924b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/169033 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 4c8b04c8d9d3a2367bb3205b852f2d7b75082f90) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/169101
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/online_transform.xsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index b2f7adde01..ec47d60aa4 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -113,6 +113,7 @@
<xsl:variable name="ytaccept"><xsl:apply-templates select="$tmp_doc_ui//variable[@id='ytaccept']"/></xsl:variable>
<xsl:variable name="ytpromovideoH2"><xsl:apply-templates select="$tmp_doc_ui//variable[@id='externalvideo']"/></xsl:variable>
<xsl:variable name="ytprivacy"><xsl:apply-templates select="$tmp_doc_ui//variable[@id='ytprivacy']"/></xsl:variable>
+<xsl:variable name="ui_books"><xsl:apply-templates select="$tmp_doc_ui//variable[@id='books']"/></xsl:variable>
<!--
#############
# Templates #
@@ -258,6 +259,16 @@
</xsl:if>
</div>
<footer>
+ <h2 style="text-align: center;"><a href="https://books.libreoffice.org" target="_blank"><xsl:value-of select="$ui_books"/></a></h2>
+ <div class="noteicon" dir="auto" style="display:flex;justify-content:center;">
+ <img src="media/navigation/libo-writer.svg" alt="Writer Icon" style="width:60px;height:60px;"></img>
+ <img src="media/navigation/libo-calc.svg" alt="Calc Icon" style="width:60px;height:60px;"></img>
+ <img src="media/navigation/libo-impress.svg" alt="Impress Icon" style="width:60px;height:60px;"></img>
+ <img src="media/navigation/libo-draw.svg" alt="Draw Icon" style="width:60px;height:60px;"></img>
+ <img src="media/navigation/libo-base.svg" alt="Base Icon" style="width:60px;height:60px;"></img>
+ <img src="media/navigation/libo-math.svg" alt="Math Icon" style="width:60px;height:60px;"></img>
+ <img src="media/navigation/libo-symbol-black.svg" alt="Getting Started Icon" style="width:60px;height:60px;"></img>
+ </div>
<xsl:if test="$online">
<p itemscope="true" itemtype="http://schema.org/Organization" dir="auto">
<meta itemprop="name" content="The Document Foundation"/>