{% extends "page.html" %} {% block subtitle -%} {{ ui.subtitle_item(_(dataset_type.title())) }} {{- super() }} {%- endblock %} {% block breadcrumb_content -%} {{ ui.breadcrumb(_(dataset_type.title() + 's'), href=h.url_for('%s.search' % dataset_type), active=true) }} {%- endblock %} {% block content_action -%} {{ ui.content_action(h.humanize_entity_type('package', dataset_type, 'add link') or _("Add Dataset"), href=h.url_for(dataset_type ~ '.new'), icon="plus") if h.check_access('package_create') }} {%- endblock %} {% block primary_content %} {%- call ui.util.call(ui.section, title=h.humanize_entity_type('dataset', dataset_type, 'page title') or _('Datasets'), level=1) -%} {%- include "package/snippets/search_results.html" -%} {%- endcall %} {% endblock %} {% block secondary_content %} {% include "package/snippets/search_facets.html" %} {% endblock %}