diff --git a/ckanext/scheming/templates/scheming/package/read.html b/ckanext/scheming/templates/scheming/package/read.html index 1e075126..9100e421 100644 --- a/ckanext/scheming/templates/scheming/package/read.html +++ b/ckanext/scheming/templates/scheming/package/read.html @@ -21,3 +21,20 @@ {% snippet "scheming/package/snippets/additional_info.html", pkg_dict=pkg, dataset_type=dataset_type, schema=schema %} {% endblock %} + +{% block breadcrumb_content %} + {% if pkg %} + {% set dataset = pkg.title or pkg.name %} + {% if pkg.organization %} + {% set organization = pkg.organization.title or pkg.organization.name %} +
  • {% link_for _('Organizations'), controller='organization', action='index' %}
  • +
  • {% link_for organization|truncate(30), controller='organization', action='read', id=pkg.organization.name %}
  • + {% 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 Record') }}
  • + {% endif %} +{% endblock %} \ No newline at end of file