mirror of https://github.com/apache/archiva.git
use template for footer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1236633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bee8924ec6
commit
c9ff592582
|
@ -32,13 +32,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer style="vertical-align: bottom">
|
<footer id="footer-content" style="vertical-align: bottom">
|
||||||
<div class="pull-left">
|
|
||||||
<a target="_blank" href="http://archiva.apache.org/">Apache Archiva - version</a>
|
|
||||||
</div>
|
|
||||||
<div class="pull-right">
|
|
||||||
Copyright © copyrightRange <a target="_blank" href="http://www.apache.org/">The Apache Software Foundation</a>
|
|
||||||
</div>
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -172,6 +172,7 @@ $(function() {
|
||||||
hideElementWithKarma();
|
hideElementWithKarma();
|
||||||
checkSecurityLinks();
|
checkSecurityLinks();
|
||||||
checkCreateAdminLink();
|
checkCreateAdminLink();
|
||||||
|
$('#footer-content').html($('#footer-tmpl').tmpl());
|
||||||
}
|
}
|
||||||
startArchivaApplication();
|
startArchivaApplication();
|
||||||
})
|
})
|
||||||
|
|
|
@ -41,3 +41,12 @@
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script id='footer-tmpl' type='text/x-jquery-tmpl'>
|
||||||
|
<div class="pull-left">
|
||||||
|
<a target="_blank" href="http://archiva.apache.org/">Apache Archiva - ${version}</a>
|
||||||
|
</div>
|
||||||
|
<div class="pull-right">
|
||||||
|
Copyright © ${copyrightRange} <a target="_blank" href="http://www.apache.org/">The Apache Software Foundation</a>
|
||||||
|
</div>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue