Skip to content

Commit

Permalink
Updated read_base file
Browse files Browse the repository at this point in the history
This updates the organization snippet reference to work with CKAN 2.11
  • Loading branch information
chris-daly committed Jan 13, 2025
1 parent 8a233a5 commit 3c1a67a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckanext/ukdstheme/templates/package/read_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
{% block secondary_help_content %}{% endblock %}

{% block package_info %}
{% snippet 'package/snippets/info.html', pkg=pkg %}
{% snippet 'package/snippets/info.html', pkg=pkg, am_following=am_following %}
{% endblock %}

{% block package_organization %}
{% if pkg.organization %}
{% set org = h.get_organization(pkg.organization.id) %}
{% snippet "snippets/organization.html", organization=org, has_context_title=true %}
{% snippet "organization/snippets/info.html", organization=org, has_context_title=true %}
{% endif %}
{% endblock %}

Expand All @@ -37,4 +37,4 @@
{% endblock %}
{% endif %}

{% endblock %}
{% endblock %}

0 comments on commit 3c1a67a

Please sign in to comment.