poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1789407 - in /poi/site/src/documentation: resources/images/support-asf.png skinconf.xml skins/poi-site/xslt/html/site2xhtml.xsl
Date Wed, 29 Mar 2017 18:59:08 GMT
Author: kiwiwings
Date: Wed Mar 29 18:59:07 2017
New Revision: 1789407

URL: http://svn.apache.org/viewvc?rev=1789407&view=rev
Log:
Add support logo to website

Added:
    poi/site/src/documentation/resources/images/support-asf.png   (with props)
Modified:
    poi/site/src/documentation/skinconf.xml
    poi/site/src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl

Added: poi/site/src/documentation/resources/images/support-asf.png
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/resources/images/support-asf.png?rev=1789407&view=auto
==============================================================================
Binary file - no diff available.

Propchange: poi/site/src/documentation/resources/images/support-asf.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: poi/site/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/skinconf.xml?rev=1789407&r1=1789406&r2=1789407&view=diff
==============================================================================
--- poi/site/src/documentation/skinconf.xml (original)
+++ poi/site/src/documentation/skinconf.xml Wed Mar 29 18:59:07 2017
@@ -100,6 +100,13 @@ be used to configure the chosen Forrest
   <project-description>Apache POI - the Java API for Microsoft Documents</project-description>
   <project-url>https://poi.apache.org/</project-url>
   <project-logo>resources/images/pb-poi.png</project-logo>
+  
+  <!-- optional support logo
+  	   skin: forest-site renderes it at the top - left of the project logo -->
+  <support-name>Support Apache</support-name>
+  <support-description>Your donation helps The Apache Software Foundation ensure its
community-driven software remains available to billions of users at absolutely no cost.</support-description>
+  <support-url>https://donate.apache.org/</support-url>
+  <support-logo>resources/images/support-asf.png</support-logo>
 
   <!-- optional group logo
        skin: forrest-site renders it at the top-left corner -->

Modified: poi/site/src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl?rev=1789407&r1=1789406&r2=1789407&view=diff
==============================================================================
--- poi/site/src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl (original)
+++ poi/site/src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl Wed Mar 29 18:59:07
2017
@@ -79,10 +79,22 @@ footer, searchbar, css etc.  As input, i
             <td align="right" width="50%">
               <div class="projectLogo" align="right">
                 <xsl:call-template name="renderlogo">
+                  <xsl:with-param name="name" select="$config/support-name"/>
+                  <xsl:with-param name="url" select="$config/support-url"/>
+                  <xsl:with-param name="logo" select="$config/support-logo"/>
+                  <xsl:with-param name="description" select="$config/support-description"/>
+                  <xsl:with-param name="root" select="$root"/>
+                  <xsl:with-param name="height">120</xsl:with-param>
+                  <xsl:with-param name="width">120</xsl:with-param>
+                </xsl:call-template>
+                <xsl:call-template name="renderlogo">
                   <xsl:with-param name="name" select="$config/project-name"/>
                   <xsl:with-param name="url" select="$config/project-url"/>
                   <xsl:with-param name="logo" select="$config/project-logo"/>
+                  <xsl:with-param name="description" select="$config/project-description"/>
                   <xsl:with-param name="root" select="$root"/>
+                  <xsl:with-param name="height">120</xsl:with-param>
+                  <xsl:with-param name="width">120</xsl:with-param>
                 </xsl:call-template>
               </div>
             </td>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message