{% extends "source/read_base.html" %} {% block breadcrumb_content_root_selected %}{% endblock %} {% block breadcrumb_content %} {{ super() }}
  • {{ _('Admin') }}
  • {% endblock %} {% block action_links %} {% set show_li = c.__version__.startswith('2.0') %} {% if source.status and source.status.last_job and (source.status.last_job.status == 'New' or source.status.last_job.status == 'Running') %} {{ '
  • ' if show_li }} Reharvest{{ '
  • ' if show_li }} {% else %} {% set locale = h.dump_json({'content': _('This will re-run the harvesting for this source. Any updates at the source will overwrite the local datasets. Sources with a large number of datasets may take a significant amount of time to finish harvesting. Please confirm you would like us to start reharvesting.')}) %} {{ '
  • ' if show_li }} {{ _('Reharvest') }} {{ '
  • ' if show_li }} {% endif %} {% set locale = h.dump_json({'content': _('Warning: This will remove all datasets for this source, as well as all previous job reports. Are you sure you want to continue?')}) %} {{ '
  • ' if show_li }} {{ _('Clear') }} {{ '
  • ' if show_li }} {{ '
  • ' if show_li }}{{ h.nav_named_link(_('View harvest source'), '{0}_read'.format(c.dataset_type), id=source.name, class_='btn', icon='eye-open')}}{{ '
  • ' if show_li }} {% endblock %} {# CKAN 2.0 #} {% block actions_content %} {{ self.action_links() }} {% endblock %} {# CKAN 2.1 #} {% block content_action %}
    {{ self.action_links() }}
    {% endblock %} {% block page_header_tabs %} {{ h.build_nav_icon('{0}_admin'.format(c.dataset_type), _('Dashboard'), id=source.name, icon='dashboard') }} {{ h.build_nav_icon('harvest_job_list'.format(c.dataset_type), _('Jobs'), source=source.name, icon='reorder') }} {{ h.build_nav_icon('{0}_edit'.format(c.dataset_type), _('Edit'), id=source.name, icon='edit') }} {% endblock %}