Commit 5165f6ca authored by Maxime Chaillet's avatar Maxime Chaillet

change the target page to display when the user clicks to access the data and...

change the target page to display when the user clicks to access the data and the doi is for data collection. It fixes #57.
parent 2434ed2a
......@@ -83,7 +83,11 @@
<div class="row">
<div class="col-1"> </div>
<div class="col-10">
{@eq key=data.resourceType value=constants.ES_RESOURCE_TYPE}
<form action="https://icat.esrf.fr/#/browse/facility/ESRF/proposal/{data.proposalName}/investigation/{data.investigationId}/dataset" target="_blank">
{:else}
<form action="https://icat.esrf.fr/?#/my-data/ESRF" target="_blank">
{/eq}
<button type="submit" class="btn btn-primary btn-lg btn-block"> Access data </button>
</form>
</div>
......
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