Merge pull request #235 from ckan/other-deprecated-nav_named_link

Fix deprecated nav_named_link
This commit is contained in:
Adrià Mercader 2016-04-27 17:54:23 +01:00
commit 74cec5be62
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
{% extends "source/admin_base.html" %}
{% block breadcrumb_content %}
<li>{{ h.nav_named_link(_('Harvest Sources'), '{0}_search'.format(c.dataset_type)) }}</li>
<li class="active">{{ h.nav_named_link(_('Create Harvest Source'), '{0}_new'.format(c.dataset_type)) }}</li>
<li>{{ h.nav_link(_('Harvest Sources'), named_route='{0}_search'.format(c.dataset_type)) }}</li>
<li class="active">{{ h.nav_link(_('Create Harvest Source'), named_route='{0}_new'.format(c.dataset_type)) }}</li>
{% endblock %}
{% block actions_content %}