{# SPDX-FileCopyrightText: 2026 CESNET z.s.p.o SPDX-License-Identifier: MIT /about/harvest page, see oarepo_oaipmh_harvester.views. Context: harvesters - list of (harvester, stats); stats has last_harvested, records, failed. #} {%- extends config.BASE_TEMPLATE %} {%- block page_body %}

{{ _("Harvested sources") }}

{% for harvester, stats in harvesters %}
{# no base_url - it may contain credentials #}

{{ harvester.name }}

{% if harvester.comment %}

{{ harvester.comment }}

{% endif %} {% if harvester.setspec %}{% endif %}
{{ _("Metadata prefix") }}{{ harvester.metadata_prefix }}
{{ _("Set") }}{{ harvester.setspec }}
{{ _("Loader") }}{{ harvester.loader }}
{{ _("Transformers") }}{% for t in harvester.transformers %}{{ t }}
{% endfor %}
{{ _("Writers") }}{% for w in harvester.writers %}{{ w }}
{% endfor %}
{{ _("Last harvested") }} {{ stats.last_harvested.strftime("%Y-%m-%d %H:%M UTC") if stats.last_harvested else _("Never") }}
{{ _("Records") }}{{ stats.records }}
{{ _("Records with errors") }}{{ stats.failed }}
{% else %}

{{ _("No harvesters are configured.") }}

{% endfor %}
{%- endblock page_body %}