{% extends "page.html" %} {% set pkg = c.pkg_dict or pkg_dict %} {% block breadcrumb_content_selected %} class="active"{% endblock %} {% block subtitle %}{{ _('Datasets') }}{% endblock %} {% block breadcrumb_content %} {% if pkg %} {% set dataset = h.dataset_display_name(pkg) %} {% if pkg.organization %} {% set organization = h.get_translated(pkg.organization, 'title') or pkg.organization.name %} {% set group_type = pkg.organization.type %}
  • {% link_for _('Organizations'), controller='organization', action='index', named_route=group_type + '_index' %}
  • {% link_for organization|truncate(30), controller='organization', action='read', id=pkg.organization.name, named_route=group_type + '_read' %}
  • {% else %}
  • {% link_for _('Datasets'), controller='package', action='search' %}
  • {% endif %} {% link_for dataset|truncate(30), controller='package', action='read', id=pkg.name %} {% else %}
  • {% link_for _('Datasets'), controller='package', action='search' %}
  • {{ _('Create Dataset') }}
  • {% endif %} {% endblock %}