archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1236633 - in /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp: index.html js/archiva/main.js js/archiva/templates/message.html
Date Fri, 27 Jan 2012 11:19:15 GMT
Author: olamy
Date: Fri Jan 27 11:19:14 2012
New Revision: 1236633

URL: http://svn.apache.org/viewvc?rev=1236633&view=rev
Log:
use template for footer

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/message.html

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html?rev=1236633&r1=1236632&r2=1236633&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/index.html
Fri Jan 27 11:19:14 2012
@@ -32,13 +32,7 @@
 
 </div>
 
-<footer style="vertical-align: bottom">
-  <div class="pull-left">
-    <a target="_blank" href="http://archiva.apache.org/">Apache Archiva&nbsp;-&nbsp;version</a>
-  </div>
-  <div class="pull-right">
-    Copyright &#169;  copyrightRange  <a target="_blank" href="http://www.apache.org/">The
Apache Software Foundation</a>
-  </div>
+<footer id="footer-content" style="vertical-align: bottom">
 </footer>
 
 

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js?rev=1236633&r1=1236632&r2=1236633&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js
Fri Jan 27 11:19:14 2012
@@ -172,6 +172,7 @@ $(function() {
     hideElementWithKarma();
     checkSecurityLinks();
     checkCreateAdminLink();
+    $('#footer-content').html($('#footer-tmpl').tmpl());
   }
   startArchivaApplication();
 })

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/message.html
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/message.html?rev=1236633&r1=1236632&r2=1236633&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/message.html
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/message.html
Fri Jan 27 11:19:14 2012
@@ -41,3 +41,12 @@
   </div>
 </script>
 
+<script id='footer-tmpl' type='text/x-jquery-tmpl'>
+  <div class="pull-left">
+    <a target="_blank" href="http://archiva.apache.org/">Apache Archiva&nbsp;-&nbsp;${version}</a>
+  </div>
+  <div class="pull-right">
+    Copyright &#169;  ${copyrightRange}  <a target="_blank" href="http://www.apache.org/">The
Apache Software Foundation</a>
+  </div>
+</script>
+



Mime
View raw message