summaryrefslogtreecommitdiffstats
path: root/help3xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-01-30 17:49:59 -0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-01-30 20:51:58 +0100
commit875dbb65c79bd52049c270197aaa71cc243821fb (patch)
tree9d70196419aaa872da349f916870cc85afa91865 /help3xsl
parentSwitched from list.js to fuse.js and paginathing.js (diff)
downloadhelp-875dbb65c79bd52049c270197aaa71cc243821fb.tar.gz
help-875dbb65c79bd52049c270197aaa71cc243821fb.zip
New Help: Add donation link for online version
Change-Id: I340362a70ecc115565c7fd7cb2be1a5d0fbb5599 Reviewed-on: https://gerrit.libreoffice.org/48929 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/default.css6
-rw-r--r--help3xsl/online_transform.xsl7
2 files changed, 12 insertions, 1 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 00187b4fd5..debcf99aa2 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -155,6 +155,12 @@ h6 {
color: red;
text-align: left;
}
+.donation{
+ padding:0px 0px 10px 0px;
+}
+.donation p{
+ font-size:1.2rem;
+}
.bascode {
background-color: #fafafa;
margin-left: 30px;
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index c8cf7660cf..8b215f218c 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -148,7 +148,7 @@
<div class="header-extrawurst">
<header>
<div class="logo-container">
- <a class="logo" href="https://helponline.libreoffice.org/">
+ <a class="logo" href="{$productversion}/{$lang}/text/shared/main0108.html">
<div class="symbol"></div>
<p><xsl:call-template name="brand">
<xsl:with-param name="string">
@@ -283,6 +283,11 @@
<xsl:text disable-output-escaping="yes">&lt;gcse:search&gt;&lt;/gcse:search&gt;</xsl:text>
</div>
</xsl:if>
+ <xsl:if test="$online">
+ <div class="donation">
+ <p>If this page has been helpful, <a href="https://www.libreoffice.org/donate/?pk_campaign=help" target ="_blank">you can support us!</a></p>
+ </div>
+ </xsl:if>
<p><a href="http://www.libreoffice.org/imprint" target="_blank">Impressum (Legal Info)</a> | <a href="http://www.libreoffice.org/privacy" target="_blank">Privacy Policy</a> | <a href="http://www.documentfoundation.org/statutes.pdf" target="_blank">Statutes (non-binding English translation)</a> - <a href="http://www.documentfoundation.org/satzung.pdf" target="_blank">Satzung (binding German version)</a> | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the <a href="http://www.libreoffice.org/download/license/" target="_blank">Mozilla Public License v2.0</a>. “LibreOffice” and “The Document Foundation” are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our <a href="http://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>. LibreOffice was based on OpenOffice.org.</p>
<div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>