diff --git a/ckanext/harvest/templates_new/source/edit.html b/ckanext/harvest/templates_new/source/edit.html index c1d4252..19ca984 100644 --- a/ckanext/harvest/templates_new/source/edit.html +++ b/ckanext/harvest/templates_new/source/edit.html @@ -1,8 +1,7 @@ {% extends "source/base_form_page.html" %} {% block breadcrumb_content %} - -
  • {% link_for _('Harvest Sources'), controller='package', action='search', highlight_actions = 'new index' %}
  • +
  • {{ h.nav_named_link(_('Harvest Sources'), '{0}_search'.format(c.dataset_type)) }}
  • {{ h.nav_named_link(c.harvest_source.title|truncate(30), '{0}_read'.format(c.dataset_type), id=c.harvest_source.name) }}
  • {{ h.nav_named_link(_('Edit Harvest Source'), '{0}_edit'.format(c.dataset_type), id=c.harvest_source.name) }}
  • {% endblock %} diff --git a/ckanext/harvest/templates_new/source/new.html b/ckanext/harvest/templates_new/source/new.html index 5914248..f174edd 100644 --- a/ckanext/harvest/templates_new/source/new.html +++ b/ckanext/harvest/templates_new/source/new.html @@ -1,8 +1,7 @@ {% extends "source/base_form_page.html" %} {% block breadcrumb_content %} - -
  • {% link_for _('Harvest Sources'), controller='package', action='search', highlight_actions = 'new index' %}
  • +
  • {{ h.nav_named_link(_('Harvest Sources'), '{0}_search'.format(c.dataset_type)) }}
  • {{ h.nav_named_link(_('Create Harvest Source'), '{0}_new'.format(c.dataset_type)) }}
  • {% endblock %}