incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [incubator] branch master updated: Add files via upload
Date Mon, 18 Mar 2019 22:11:18 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 252a21d  Add files via upload
252a21d is described below

commit 252a21dbd159ae27e349030c22db758c0bc02fd8
Author: Dave Fisher <dave@davefisher.tech>
AuthorDate: Mon Mar 18 15:11:14 2019 -0700

    Add files via upload
    
    Footer automatically picks the current year for the copyright and is updated to mention
registered trademarks(Apache)
---
 templates/footer.gsp | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/templates/footer.gsp b/templates/footer.gsp
index 1e292a2..abcf1c2 100644
--- a/templates/footer.gsp
+++ b/templates/footer.gsp
@@ -1,19 +1,21 @@
 		</div>
 		<div id="push"></div>
     </div>
-    
+<%
+    import java.text.SimpleDateFormat
+    def date = new Date()
+    sdf = new SimpleDateFormat("yyyy")
+%>
     <div id="footer">
       <div class="container">
-          <p class="muted credit">&copy; 2017 The Apache Software Foundation |
Licensed under the Apache License, Version 2.0.<br/>
-          Apache Incubator, Apache, the Apache feather logo, and the Apache Incubator project
logo are trademarks of The Apache Software Foundation.</p>
+          <p class="muted credit">&copy; ${sdf.format(date)} The Apache Software
Foundation | Licensed under the Apache License, Version 2.0.<br/>
+          Apache Incubator, Apache, the Apache feather logo, and the Apache Incubator project
logo are trademarks or registered trademarks of The Apache Software Foundation.</p>
       </div>
     </div>
-
     <script src="<%if (content.rootpath) {%>${content.rootpath}<% } else { %><%
}%>js/jquery-1.11.1.min.js"></script>
     <script src="<%if (content.rootpath) {%>${content.rootpath}<% } else { %><%
}%>js/bootstrap.min.js"></script>
     <script src="<%if (content.rootpath) {%>${content.rootpath}<% } else { %><%
}%>js/prettify.js"></script>
     <script src="<%if (content.rootpath) {%>${content.rootpath}<% } else { %><%
}%>js/readingTime.js"></script>
     <script src="<%if (content.rootpath) {%>${content.rootpath}<% } else { %><%
}%>js/incubator.js"></script>
-
   </body>
 </html>
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message