diff --git a/ckanext/harvest/templates_new/source/admin_base.html b/ckanext/harvest/templates_new/source/admin_base.html index fde55f3..0615a3d 100644 --- a/ckanext/harvest/templates_new/source/admin_base.html +++ b/ckanext/harvest/templates_new/source/admin_base.html @@ -9,9 +9,15 @@ {% block actions_content %} {% if source.status.last_job and (source.status.last_job.status == 'New' or source.status.last_job.status == 'Running') %} -
  • Refresh
  • +
  • Reharvest
  • {% else %} -
  • {{ h.nav_named_link(_('Refresh'), '{0}_refresh'.format(c.dataset_type), id=source.id, class_='btn', icon='refresh')}}
  • + {% 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. Please confirm you would like to start reharvesting.')}) %} +
  • + + + {{ _('Reharvest') }} + +
  • {% endif %}
  • {{ h.nav_named_link(_('View harvest source'), '{0}_read'.format(c.dataset_type), id=source.name, class_='btn', icon='eye-open')}}
  • {% endblock %}