diff --git a/ckanext/harvest/templates/source/admin_base.html b/ckanext/harvest/templates/source/admin_base.html index 68bc4e9..9c83b84 100644 --- a/ckanext/harvest/templates/source/admin_base.html +++ b/ckanext/harvest/templates/source/admin_base.html @@ -29,7 +29,7 @@ {{ '' if show_li }} - {{ '
- {{ h.nav_named_link(_('Back to job list'), 'harvest_job_list', source=source.name, class_='btn', icon='arrow-left')}} + {{ h.nav_link(_('Back to job list'), named_route='harvest_job_list', source=source.name, class_='btn', icon='arrow-left')}}
{{ h.markdown_extract(c.harvest_source.notes, 180) }} - {{ h.nav_named_link(_('read more'), '{0}_about'.format(c.dataset_type), id=c.harvest_source.name) }} + {{ h.nav_link(_('read more'), named_route='{0}_about'.format(c.dataset_type), id=c.harvest_source.name) }}
{% else %}{{ _('There is no description for this harvest source') }}
diff --git a/ckanext/harvest/templates/source/search.html b/ckanext/harvest/templates/source/search.html index 895467e..b7797b9 100644 --- a/ckanext/harvest/templates/source/search.html +++ b/ckanext/harvest/templates/source/search.html @@ -4,7 +4,7 @@ {% block breadcrumb_content %} -