Commit b684fd36 authored by Maxime Chaillet's avatar Maxime Chaillet

Make sure DOI code is always displayed in uppercase in the upper banner and citations.

parent e567ddec
This diff is collapsed.
......@@ -223,6 +223,6 @@ function createCitation(data) {
'. ' +
data.publisher +
' (ESRF). ' +
" <a href='https://doi.esrf.fr/" + data.DOI + "'> doi:" + data.doi + "</a>";
" <a href='https://doi.esrf.fr/" + data.DOI + "'> doi:" + data.doi.toUpperCase() + "</a>";
data.citation = citation;
}
......@@ -11,7 +11,7 @@ DOIView.prototype.setLoading = function(message) {
};
DOIView.prototype.setDOI = function(doi) {
$("#doiPanel").html(doi);
$("#doiPanel").html(doi.toUpperCase());
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment