help3xsl/online_transform.xsl           |   11 +++++++++++
 source/text/shared/help/browserhelp.xhp |    1 +
 2 files changed, 12 insertions(+)

New commits:
commit 4c8b04c8d9d3a2367bb3205b852f2d7b75082f90
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Mon Jun 17 12:21:49 2024 -0300
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Mon Jun 17 22:36:57 2024 +0200

    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.hal...@libreoffice.org>

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>

Reply via email to