From d372f112f03387a7fc1a5d3839a78710a0cb7ee1 Mon Sep 17 00:00:00 2001 From: David Read Date: Wed, 27 Apr 2016 15:41:17 +0000 Subject: [PATCH] Convert deprecated helper. --- ckanext/harvest/templates/source/new.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext/harvest/templates/source/new.html b/ckanext/harvest/templates/source/new.html index f97ed67..32952ff 100644 --- a/ckanext/harvest/templates/source/new.html +++ b/ckanext/harvest/templates/source/new.html @@ -1,8 +1,8 @@ {% extends "source/admin_base.html" %} {% block breadcrumb_content %} -
  • {{ 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)) }}
  • +
  • {{ h.nav_link(_('Harvest Sources'), named_route='{0}_search'.format(c.dataset_type)) }}
  • +
  • {{ h.nav_link(_('Create Harvest Source'), named_route='{0}_new'.format(c.dataset_type)) }}
  • {% endblock %} {% block actions_content %}