Skip to content
Snippets Groups Projects
Commit 57906798 authored by Paul Millar's avatar Paul Millar
Browse files

Initial dataset update OAI-PMH display

The display now shows the number of datasets available
from the endpoint.
parent 77767328
No related branches found
No related tags found
1 merge request!57Initial dataset update OAI-PMH display
Pipeline #474994 passed
......@@ -54,7 +54,10 @@ title: Open data resources
%}<td>{%
endif %}
<div class="tooltip-cont">
<a href="{{ facility.odr.oai-pmh-endpoint.link }}?verb=Identify" class="trigger-tooltip">{{ facility.odr.oai-pmh-endpoint.status }}</a>
<a href="{{ facility.odr.oai-pmh-endpoint.link }}?verb=Identify" class="trigger-tooltip">{%
if facility.odr.oai-pmh-endpoint.datasets %} Datasets: {{facility.odr.oai-pmh-endpoint.datasets.count}}{%
else %}{{ facility.odr.oai-pmh-endpoint.status }}{%
endif %}</a>
<span class="tooltip">last check: {{ facility.odr.oai-pmh-endpoint.last-check | date: "%Y-%m-%d" }}</span>
</div>
</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment