diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-06-17 12:21:49 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2024-06-19 15:45:26 +0200 |
commit | b80910b523d23afe7d4bb6c59a443eb429003faf (patch) | |
tree | 55b985af18ad7516ce165a9cc38ed535f02a5604 | |
parent | 8e4ae81a9af01da98b6aab160178f7f4e5b08dfe (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
-rw-r--r-- | help3xsl/online_transform.xsl | 11 | ||||
-rw-r--r-- | source/text/shared/help/browserhelp.xhp | 1 |
2 files changed, 12 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"/> diff --git a/source/text/shared/help/browserhelp.xhp b/source/text/shared/help/browserhelp.xhp index 11d9e87330..e77d39c143 100644 --- a/source/text/shared/help/browserhelp.xhp +++ b/source/text/shared/help/browserhelp.xhp @@ -16,6 +16,7 @@ </topic> </meta> <body> + <paragraph role="paragraph" id="par_id901718636072828"><variable id="books">LibreOffice Books</variable></paragraph> <paragraph role="paragraph" id="par_id491525733955136"><variable id="module">Module</variable></paragraph> <paragraph role="paragraph" id="par_id531525734031068"><variable id="language">Language</variable></paragraph> <paragraph role="paragraph" id="par_id991525734084608"><variable id="contents">Contents</variable></paragraph> |