Fix links to harvest sources page

This commit is contained in:
amercader 2012-12-05 13:01:56 +00:00
parent d77bf255b4
commit a605564a41
2 changed files with 2 additions and 4 deletions

View File

@ -1,8 +1,7 @@
{% extends "source/base_form_page.html" %}
{% block breadcrumb_content %}
<!-- TODO: link to list -->
<li>{% link_for _('Harvest Sources'), controller='package', action='search', highlight_actions = 'new index' %}</li>
<li>{{ h.nav_named_link(_('Harvest Sources'), '{0}_search'.format(c.dataset_type)) }}</li>
<li>{{ h.nav_named_link(c.harvest_source.title|truncate(30), '{0}_read'.format(c.dataset_type), id=c.harvest_source.name) }}</li>
<li class="active">{{ h.nav_named_link(_('Edit Harvest Source'), '{0}_edit'.format(c.dataset_type), id=c.harvest_source.name) }}</li>
{% endblock %}

View File

@ -1,8 +1,7 @@
{% extends "source/base_form_page.html" %}
{% block breadcrumb_content %}
<!-- TODO: link to list -->
<li>{% link_for _('Harvest Sources'), controller='package', action='search', highlight_actions = 'new index' %}</li>
<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>
{% endblock %}