[Libreoffice-commits] help.git: help3xsl/default.css help3xsl/online_transform.xsl
Olivier Hallot
olivier.hallot at libreoffice.org
Tue Jan 30 19:52:22 UTC 2018
help3xsl/default.css | 6 ++++++
help3xsl/online_transform.xsl | 7 ++++++-
2 files changed, 12 insertions(+), 1 deletion(-)
New commits:
commit 875dbb65c79bd52049c270197aaa71cc243821fb
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
Date: Tue Jan 30 17:49:59 2018 -0200
New Help: Add donation link for online version
Change-Id: I340362a70ecc115565c7fd7cb2be1a5d0fbb5599
Reviewed-on: https://gerrit.libreoffice.org/48929
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 00187b4fd..debcf99aa 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 c8cf7660c..8b215f218 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"><gcse:search></gcse:search></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>
More information about the Libreoffice-commits
mailing list