{% extends "source/read_base.html" %} {#Customization: - added a section for the last harvest job, which is copied from https://github.com/ckan/ckanext-harvest/blob/v1.6.1/ckanext/harvest/templates/source/admin.html with "View full job report" button removed #} {% block primary_content_inner %}

{{ harvest_source.title or harvest_source.name }}

{% if harvest_source.notes %}

{{ h.markdown_extract(harvest_source.notes)|urlize }}

{% else %}

{{ _('There is no description for this harvest source') }}

{% endif %}
{% snippet "package/snippets/additional_info.html", pkg_dict=harvest_source %}

{{ _('Last Harvest Job') }}

{% if harvest_source.status and harvest_source.status.last_job and harvest_source.status.last_job.status == 'running' %}

{{ _('The last harvest job is still running') }}

{% endif %} {% if harvest_source.status and harvest_source.status.last_job %} {% snippet "snippets/job_details.html", job=harvest_source.status.last_job %} {% else %}

{{ _('No jobs yet for this source') }}

{% endif %}
{% endblock %}