Skip to content

Commit

Permalink
update file and function name for footer section
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-ebi committed May 28, 2024
1 parent d26c4e8 commit 282168f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ module.exports = function (grunt) {
'src/js/beacon-form/eva-variant-search-form.js',
'src/js/dbSNP-import/dbSNP-import-progress.js',
'src/js/rs-release/rs-release.js',
'src/js/footer.js',
'src/js/eva.js',
'src/js/eva-google-analytics.js '
],
Expand Down Expand Up @@ -249,7 +250,6 @@ module.exports = function (grunt) {
ebi_framework_js: {
src: [
'lib/EBI-Framework/js/cookiebanner.js',
'lib/EBI-Framework/js/foot.js',
'lib/EBI-Framework/js/script.js',
'lib/EBI-Framework/libraries/foundation-6/js/foundation.js',
'lib/EBI-Framework/js/foundationExtendEBI.js',
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ <h6>Reporting</h6>
<script type="text/javascript" src="../lib/jsorolla/build/1.1.9/genome-viewer/genome-viewer.js"></script>
<!-- /build -->
<!-- build:script eva-js -->
<script type="text/javascript" src="js/footer/foot.js"></script>
<script type="text/javascript" src="js/footer/footer.js"></script>
<script type="text/javascript" src="js/eva-manager.js"></script>
<script type="text/javascript" src="js/eva-annotation-model.js"></script>
<script type="text/javascript" src="js/eva-config.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions src/js/footer/foot.js → src/js/footer/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* This is a workaround for adding couple of links in the footer (Services section) which are not present in EBI-Framework V1.1
* When updating the website, make sure to remove this and use the footer code provided by the EBI-Framework
*/
(function updateFoot() {
(function updateEVAFoot() {
var html = '' + '<div class="columns small-6 medium-2 "> ' + ' <a href="//www.ebi.ac.uk" title="EMBL-EBI"><span class="ebi-logo"></span></a> ' + ' <ul> ' + ' </ul> ' + ' </div> ' + ' ' + ' <div class="columns small-6 medium-2 "> ' + ' <h5 class="services"><a class="services-color" href="//www.ebi.ac.uk/services">Services</a></h5> ' + ' <ul> ' + ' <li class="first"><a href="//www.ebi.ac.uk/services">By topic</a></li> ' + ' <li><a href="//www.ebi.ac.uk/services/all">By name (A-Z)</a></li> ' + ' <li><a href="//www.ebi.ac.uk/support">Help &amp; Support</a></li> ' + ' <li><a href="//www.ebi.ac.uk/licencing">Licensing</a></li> ' + ' <li class="last"><a href="//www.ebi.ac.uk/long-term-data-preservation">Long-term data preservation</a></li> ' + ' </ul> ' + ' </div> ' + ' ' + ' <div class="columns small-6 medium-2 "> ' + ' <h5 class="research"><a class="research-color" href="//www.ebi.ac.uk/research">Research</a></h5> ' + ' <ul> ' + ' <li><a href="//www.ebi.ac.uk/research/publications">Publications</a></li> ' + ' <li><a href="//www.ebi.ac.uk/research/groups">Research groups</a></li> ' + ' <li class="last"><a href="//www.ebi.ac.uk/research/postdocs">Postdocs</a> &amp; <a href="//www.ebi.ac.uk/research/eipp">PhDs</a></li> ' + ' </ul> ' + ' </div> ' + ' ' + ' <div class="columns small-6 medium-2 "> ' + ' <h5 class="training"><a class="training-color" href="//www.ebi.ac.uk/training">Training</a></h5> ' + ' <ul> ' + ' <li><a href="//www.ebi.ac.uk/training/handson">Train at EBI</a></li> ' + ' <li><a href="//www.ebi.ac.uk/training/roadshow">Train outside EBI</a></li> ' + ' <li><a href="//www.ebi.ac.uk/training/online">Train online</a></li> ' + ' <li class="last"><a href="//www.ebi.ac.uk/training/contact-us">Contact organisers</a></li> ' + ' </ul> ' + ' </div> ' + ' ' + ' <div class="columns small-6 medium-2 "> ' + ' <h5 class="industry"><a class="industry-color" href="//www.ebi.ac.uk/industry">Industry</a></h5> ' + ' <ul> ' + ' <li><a href="//www.ebi.ac.uk/industry/private">Members Area</a></li> ' + ' <li><a href="//www.ebi.ac.uk/industry/workshops">Workshops</a></li> ' + ' <li><a href="//www.ebi.ac.uk/industry/sme-forum"><abbr title="Small Medium Enterprise">SME</abbr> Forum</a></li> ' + ' <li class="last"><a href="//www.ebi.ac.uk/industry/contact">Contact Industry programme</a></li> ' + ' </ul> ' + ' </div> ' + ' ' + ' <div class="columns small-6 medium-2 "> ' + ' <h5 class="about"><a class="ebi-color" href="//www.ebi.ac.uk/about">About EMBL-EBI</a></h5> ' + ' <ul> ' +
' <li><a href="//www.ebi.ac.uk/about/contact">Contact us</a> ' +
' <li><a href="//www.ebi.ac.uk/about/events">Events</a></li> ' +
Expand All @@ -26,7 +26,7 @@
init();
})();

(function updateFooterMeta() {
(function updateEVAFooterMeta() {
var d = new Date();
var html = '<div class="columns">' + '<p class="address">EMBL-EBI, Wellcome Genome Campus, Hinxton, Cambridgeshire, CB10 1SD, UK. +44 (0)1223 49 44 44</p> <p class="legal">Copyright &copy; EMBL-EBI ' + d.getFullYear() + ' | EMBL-EBI is <a href="http://www.embl.org/">part of the European Molecular Biology Laboratory</a> | <a href="//www.ebi.ac.uk/about/terms-of-use">Terms of use</a>' +
'<a class="readmore float-right" href="http://intranet.ebi.ac.uk">Intranet</a>' +
Expand Down

0 comments on commit 282168f

Please sign in to comment.