Commit c1ca06c8 authored by Maxime Chaillet's avatar Maxime Chaillet

change the text displayed in the button to access topcat.

parent c927577b
This diff is collapsed.
......@@ -143,7 +143,6 @@ function extractDates(data){
var experimentDate = new Date(data.date_collected);
data.sessionDate = experimentDate.getFullYear() + "-" + experimentDate.getMonth() + "-" + experimentDate.getDate();
// Setup access message which is displayed above the button to access the data
var publicationDate = new Date(data.publication_year + "-01-01T00:00+00:00");
var now = new Date();
......@@ -153,7 +152,6 @@ function extractDates(data){
} else {
data.accessMessage = "The data is under embargo until <b>" + data.publication_year + "</b> but could be released earlier. It is currently only available to download if you are a member of the proposal team.";
}
}
......
......@@ -94,7 +94,7 @@
</div>
<div class="card-footer">
<form action="https://icat.esrf.fr/#/browse/facility/ESRF/proposal/{data.proposalNumber}/investigation/{data.investigationId}/dataset" target="_blank">
<button type="submit" class="btn btn-primary btn-lg btn-block"> <span class="fa fa-download whiteFont"></span> Download </button>
<button type="submit" class="btn btn-primary btn-lg btn-block"> Access data </button>
</form>
</div>
</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