{% extends "page.html" %} {% block title %}{{ _('Harvesting Sources') }} - {{ super() }}{% endblock %} {% block breadcrumb_content %} {% endblock %} {% block styles %} {{ super() }} {% endblock %} {% block scripts %} {{ super() }} {% endblock %} {% block primary %}

{% trans %}Harvesting Sources{% endtrans %}

{% if c.status %}

{{ _('Status') }}:

{{ h.literal(c.status) }}
{% endif %} {% if c.sources %}
{# TRANSLATORS: Appears in harvest source table for the type of harvester #} {# TRANSLATORS: Appears in harvest source table 'is Active' #} {# TRANSLATORS: Appears in harvest source table 'date of next harvest #} {# TRANSLATORS: Appears in harvest source table date created #} {% set old_publisher = None %} {% for source in c.sources %} {% if c.publisher_auth and old_publisher != source['publisher_id'] %} {% if source.get('publisher_title') %} {% else %} {% endif %} {% endif %} {% set old_publisher = source['publisher_id'] %} {% if 'msg' in source.status %} {% else %} {% endif %} {% endfor %}
{{ _('View') }} {{ _('Edit') }} {{ _('Refresh')}} URL{{ _('Type')}}{{ _('Active')}} {{ _('Statistics') }}{{ _('Next Harvest') }}{{ _('Created') }}
{{ source['publisher_title'] }}{{ source['publisher_id'] }}
View Edit Refresh {{ source.url | truncate(50) }} {{ source.type }} {{ source.active }}{{ source.status.msg }} {{ source.status.msg }}Datasets: {{ source.status.overall_statistics.added }}
Last errors: {{ source.status.last_harvest_statistics.errors }}
{{ source.status.next_harvest }}{{ h.render_datetime(source.created) }}
{% else %}
{% trans %}No harvest sources defined yet.{% endtrans %}
{% endif %}
{% endblock %} {% block sidebar %}{% endblock %}