1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 07:51:57 +02:00

speed improvement eucast_rules(), support more old MO codes

This commit is contained in:
2019-05-20 12:00:18 +02:00
parent b0033dae1b
commit 4ca00e1868
35 changed files with 590 additions and 683 deletions

View File

@ -66,6 +66,7 @@ $( document ).ready(function() {
$(disqus).insertBefore('footer');
$('#disqus_thread footer').remove();
// Alter footer
$('footer').html(
'<div>' +
'<p>' + $('footer .copyright p').html().replace(
@ -73,6 +74,7 @@ $( document ).ready(function() {
'<code>AMR</code> (for R). Developed at the <a href="https://www.rug.nl">University of Groningen</a>.<br>Authors:') + '</p>' +
'<a href="https://www.rug.nl"><img src="https://gitlab.com/msberends/AMR/raw/master/docs/logo_rug.png" class="footer_logo"></a>' +
'</div>');
// all links should open in new tab/window
$('footer').html($('footer').html().replace(/href/g, 'target="_blank" href'));
// doctoral titles of authors
@ -83,8 +85,8 @@ $( document ).ready(function() {
x = x.replace("Bhanu", "Prof Dr Bhanu");
x = x.replace(/Author, thesis advisor/g, "Doctoral advisor");
x = x.replace(/Authors/g, "aut_plural");
x = x.replace(/Author, maintainer./g, "");
x = x.replace(/Author/g, "");
x = x.replace(/Author, maintainer[.]?/g, "");
x = x.replace(/Author[.]?/g, "");
x = x.replace(/aut_plural/g, "Authors");
}
return(x);