This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
     new 73054b4  Added a link to Apache events to the page.
73054b4 is described below

commit 73054b4ed6354314bd222ea94ca9f298d72baf4d
Author: Christofer Dutz <christofer.d...@c-ware.de>
AuthorDate: Mon Feb 19 16:17:39 2018 +0100

    Added a link to Apache events to the page.
---
 src/site/resources/css/site.css | 6 ++++++
 src/site/site.xml               | 1 +
 src/site/template/maven-site.vm | 7 +++++++
 3 files changed, 14 insertions(+)

diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css
index 97e77f8..e25008b 100644
--- a/src/site/resources/css/site.css
+++ b/src/site/resources/css/site.css
@@ -51,3 +51,9 @@ under the License.
 #bannerRight > img {
     width: 400px;
 }
+
+.apacheEvents {
+    position: relative;
+    left: 180px;
+    top: 20px;
+}
diff --git a/src/site/site.xml b/src/site/site.xml
index 8543d95..e80bcfa 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -38,6 +38,7 @@
       <theme>bootswatch-flatly</theme>
       <titleTemplate>Apache PLC4X� (Incubating) - %2$s</titleTemplate>
       <slogan position="bannerLeft">The industrial IoT adapter</slogan>
+      <showApacheEvents>true</showApacheEvents>
       <toc>top</toc>
       <bottomNav maxSpan="9">
         <column>reports</column>
diff --git a/src/site/template/maven-site.vm b/src/site/template/maven-site.vm
index adf7d61..e53ad06 100644
--- a/src/site/template/maven-site.vm
+++ b/src/site/template/maven-site.vm
@@ -1559,6 +1559,13 @@
                     </div>
                     <div class="pull-right">
                     #*                                 *##banner ( 
$decoration.bannerRight "bannerRight" )
+                    #if ( $config.showApacheEvents )
+                        <p class="apacheEvents">
+                            <a 
href="http://www.apache.org/events/current-event.html";>
+                                <img 
src="http://www.apache.org/events/current-event-234x60.png"/>
+                            </a>
+                        </p>
+                    #end
                     </div>
                 </div>
             </div>

-- 
To stop receiving notification emails like this one, please contact
cd...@apache.org.

Reply via email to