From 4c3d1dda5687c287e6e8a220f8cfe7949c703ab4 Mon Sep 17 00:00:00 2001 From: Maxime Chaillet Date: Wed, 29 May 2019 09:30:33 +0200 Subject: [PATCH] update link to data.esrf.fr. It fixes icat/doi-landing-page#75. --- www/min/precompiled.templates.min.js | 2 +- www/templates/welcome_tpl.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/min/precompiled.templates.min.js b/www/min/precompiled.templates.min.js index 6b78fbd..f13de36 100644 --- a/www/min/precompiled.templates.min.js +++ b/www/min/precompiled.templates.min.js @@ -4,4 +4,4 @@ (function(dust){dust.register("experimentalreport_tpl",body_0);function body_0(chk,ctx){return chk.w("
").x(ctx.get(["data"], false),ctx,{"else":body_1,"block":body_2},{});}body_0.__dustBody=!0;function body_1(chk,ctx){return chk.w("

There is currently no experimental report.

");}body_1.__dustBody=!0;function body_2(chk,ctx){return chk.h("eq",ctx,{"block":body_3},{"key":ctx.getPath(false, ["data","length"]),"value":1},"h").h("gt",ctx,{"block":body_4},{"key":ctx.getPath(false, ["data","length"]),"value":1},"h").w(" ");}body_2.__dustBody=!0;function body_3(chk,ctx){return chk.w("

One report has been found for this proposal.

");}body_3.__dustBody=!0;function body_4(chk,ctx){return chk.w("

In total, ").f(ctx.getPath(false, ["data","length"]),ctx,"h").w(" reports have been found for this proposal:

").s(ctx.get(["data"], false),ctx,{"block":body_5},{}).w("
");}body_4.__dustBody=!0;function body_5(chk,ctx){return chk.w(" ").h("sep",ctx,{"block":body_6},{},"h").h("last",ctx,{"block":body_7},{},"h");}body_5.__dustBody=!0;function body_6(chk,ctx){return chk.w("
");}body_6.__dustBody=!0;function body_7(chk,ctx){return chk.w("
");}body_7.__dustBody=!0;return body_0}(dust)); (function(dust){dust.register("landingpage_tpl",body_0);function body_0(chk,ctx){return chk.w("
").f(ctx.getPath(false, ["data","title"]),ctx,"h").w("
").s(ctx.getPath(false, ["data","creators"]),ctx,{"block":body_1},{}).w("



").f(ctx.getPath(false, ["data","accessMessage"]),ctx,"h",["s"]).w("

").h("eq",ctx,{"else":body_8,"block":body_9},{"key":ctx.getPath(false, ["data","resourceType"]),"value":ctx.getPath(false, ["constants","ES_RESOURCE_TYPE"])},"h").w("

Below is the recommended format for citing this work in a research publication.

").f(ctx.getPath(false, ["data","citation"]),ctx,"h",["s"]).w("
");}body_0.__dustBody=!0;function body_1(chk,ctx){return chk.h("sep",ctx,{"block":body_2},{},"h").h("last",ctx,{"block":body_5},{},"h");}body_1.__dustBody=!0;function body_2(chk,ctx){return chk.x(ctx.getPath(true, ["givenName"]),ctx,{"else":body_3,"block":body_4},{});}body_2.__dustBody=!0;function body_3(chk,ctx){return chk.w(" ").f(ctx.getPath(true, ["name"]),ctx,"h").w(" ; ");}body_3.__dustBody=!0;function body_4(chk,ctx){return chk.w(" ").f(ctx.getPath(true, ["givenName"]),ctx,"h").w(" ").f(ctx.getPath(true, ["familyName"]),ctx,"h").w(" ; ");}body_4.__dustBody=!0;function body_5(chk,ctx){return chk.x(ctx.getPath(true, ["givenName"]),ctx,{"else":body_6,"block":body_7},{});}body_5.__dustBody=!0;function body_6(chk,ctx){return chk.w(" ").f(ctx.getPath(true, ["name"]),ctx,"h").w(". ");}body_6.__dustBody=!0;function body_7(chk,ctx){return chk.w(" ").f(ctx.getPath(true, ["givenName"]),ctx,"h").w(" ").f(ctx.getPath(true, ["familyName"]),ctx,"h").w(". ");}body_7.__dustBody=!0;function body_8(chk,ctx){return chk.w("
");}body_8.__dustBody=!0;function body_9(chk,ctx){return chk.w("");}body_9.__dustBody=!0;return body_0}(dust)); (function(dust){dust.register("metadata_tpl",body_0);function body_0(chk,ctx){return chk.h("eq",ctx,{"block":body_1},{"key":ctx.getPath(false, ["data","resourceType"]),"value":ctx.getPath(false, ["constants","ES_RESOURCE_TYPE"])},"h").h("eq",ctx,{"block":body_17},{"key":ctx.getPath(false, ["data","resourceType"]),"value":ctx.getPath(false, ["constants","DC_RESOURCE_TYPE"])},"h").w(" ");}body_0.__dustBody=!0;function body_1(chk,ctx){return chk.w("
").x(ctx.getPath(false, ["data","mergedProposalBeamlines"]),ctx,{"block":body_2},{}).w("

").h("abstract",ctx,{"block":body_16},{"abstract":ctx.getPath(false, ["data","abstract"])},"h").w("
");}body_1.__dustBody=!0;function body_2(chk,ctx){return chk.x(ctx.getPath(false, ["data","mergedProposalBeamlines","0"]),ctx,{"block":body_3},{});}body_2.__dustBody=!0;function body_3(chk,ctx){return chk.w("
").x(ctx.getPath(false, ["data","mergedProposalBeamlines","0","proposal"]),ctx,{"else":body_4,"block":body_5},{}).w("
").x(ctx.getPath(false, ["data","publiclyAccessibleYear"]),ctx,{"else":body_6,"block":body_7},{}).w("
").x(ctx.getPath(false, ["data","mergedProposalBeamlines","0","beamline"]),ctx,{"else":body_8,"block":body_9},{}).w("
").x(ctx.getPath(false, ["data","sessionDate"]),ctx,{"else":body_12,"block":body_13},{}).w("
").x(ctx.getPath(false, ["data","proposalType"]),ctx,{"else":body_14,"block":body_15},{}).w("
");}body_3.__dustBody=!0;function body_4(chk,ctx){return chk.w("
Not available
");}body_4.__dustBody=!0;function body_5(chk,ctx){return chk.w("
").f(ctx.getPath(false, ["data","mergedProposalBeamlines","0","proposal"]),ctx,"h").w("
");}body_5.__dustBody=!0;function body_6(chk,ctx){return chk.w("
Not available
");}body_6.__dustBody=!0;function body_7(chk,ctx){return chk.w("
").f(ctx.getPath(false, ["data","publiclyAccessibleYear"]),ctx,"h").w("
");}body_7.__dustBody=!0;function body_8(chk,ctx){return chk.w("
Not available
");}body_8.__dustBody=!0;function body_9(chk,ctx){return chk.h("eq",ctx,{"else":body_10,"block":body_11},{"key":ctx.getPath(false, ["data","mergedProposalBeamlines","0","beamlineUrl"]),"value":"noLink"},"h");}body_9.__dustBody=!0;function body_10(chk,ctx){return chk.w("");}body_10.__dustBody=!0;function body_11(chk,ctx){return chk.w("
").f(ctx.getPath(false, ["data","mergedProposalBeamlines","0","beamline"]),ctx,"h").w("
");}body_11.__dustBody=!0;function body_12(chk,ctx){return chk.w("
Not available
");}body_12.__dustBody=!0;function body_13(chk,ctx){return chk.w("
").f(ctx.getPath(false, ["data","sessionDate"]),ctx,"h").w("
");}body_13.__dustBody=!0;function body_14(chk,ctx){return chk.w("
Not available
");}body_14.__dustBody=!0;function body_15(chk,ctx){return chk.w("
").f(ctx.getPath(false, ["data","proposalType"]),ctx,"h").w("
");}body_15.__dustBody=!0;function body_16(chk,ctx){return chk.w(" ");}body_16.__dustBody=!0;function body_17(chk,ctx){return chk.w("
").h("abstract",ctx,{"block":body_18},{"abstract":ctx.getPath(false, ["data","abstract"])},"h").w("
").h("proposalBeamlineTable",ctx,{"block":body_19},{"mergedProposalBeamlines":ctx.getPath(false, ["data","mergedProposalBeamlines"])},"h").w("
").x(ctx.getPath(false, ["data","mintingYear"]),ctx,{"else":body_20,"block":body_21},{}).w("
");}body_17.__dustBody=!0;function body_18(chk,ctx){return chk.w(" ");}body_18.__dustBody=!0;function body_19(chk,ctx){return chk.w(" ");}body_19.__dustBody=!0;function body_20(chk,ctx){return chk.w("
Not available
");}body_20.__dustBody=!0;function body_21(chk,ctx){return chk.w("
").f(ctx.getPath(false, ["data","mintingYear"]),ctx,"h").w("
");}body_21.__dustBody=!0;return body_0}(dust)); -(function(dust){dust.register("welcome_tpl",body_0);function body_0(chk,ctx){return chk.w("
ESRF DOI Portal

About the portal

This page centralizes the DOI services offered by the ESRF to access data stored at the facility as part of its data policy. Data referred to by ESRF DOIs are accessed via the ESRF data catalogue icat.esrf.fr.

In case you require a DOI for a subset of data please send an email with the following high level metadata - \"proposal\", \"title\", \"authors\", \"abstract\", \"datasets\" to datapolicy@esrf.fr

DOI resolver

The search engine below only searches DOIs which have been minted at the ESRF.
Use doi.org search engine for other DOIs.

About DOI

The Digital Object Identifier (DOI) is a code composed of digits and characters. It identifies data in a unique and permanent way thereby allowing data to be referenced worldwide. The DOI has two parts, namely the DOI prefix and the DOI suffix separated by a slash (\"/\"). The ESRF prefix is 10.15151 followed by a slash and the ESRF suffix. Currently the following suffix(es) are defined:

ESRF-ES - for a session at the ESRF 
Refer to the DOI concepts page to find out what a session is.
");}body_0.__dustBody=!0;return body_0}(dust)); \ No newline at end of file +(function(dust){dust.register("welcome_tpl",body_0);function body_0(chk,ctx){return chk.w("
ESRF DOI Portal

About the portal

This page centralizes the DOI services offered by the ESRF to access data stored at the facility as part of its data policy. Data referred to by ESRF DOIs are accessed via the ESRF data catalogue data.esrf.fr.

In case you require a DOI for a subset of data please send an email with the following high level metadata - \"proposal\", \"title\", \"authors\", \"abstract\", \"datasets\" to datapolicy@esrf.fr

DOI resolver

The search engine below only searches DOIs which have been minted at the ESRF.
Use doi.org search engine for other DOIs.

About DOI

The Digital Object Identifier (DOI) is a code composed of digits and characters. It identifies data in a unique and permanent way thereby allowing data to be referenced worldwide. The DOI has two parts, namely the DOI prefix and the DOI suffix separated by a slash (\"/\"). The ESRF prefix is 10.15151 followed by a slash and the ESRF suffix. Currently the following suffix(es) are defined:

ESRF-ES - for a session at the ESRF 
Refer to the DOI concepts page to find out what a session is.
");}body_0.__dustBody=!0;return body_0}(dust)); \ No newline at end of file diff --git a/www/templates/welcome_tpl.js b/www/templates/welcome_tpl.js index 820fdbe..b0aaf26 100644 --- a/www/templates/welcome_tpl.js +++ b/www/templates/welcome_tpl.js @@ -13,7 +13,7 @@
This page centralizes the DOI services offered by the ESRF to access data stored at the facility as part of its data policy. - Data referred to by ESRF DOIs are accessed via the ESRF data catalogue icat.esrf.fr. + Data referred to by ESRF DOIs are accessed via the ESRF data catalogue data.esrf.fr.

In case you require a DOI for a subset of data please send an email with the following high level metadata - "proposal", "title", "authors", "abstract", "datasets" to datapolicy@esrf.fr

-- 2.22.0