diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/templates/package/hdx_read.html b/ckanext-hdx_theme/ckanext/hdx_theme/templates/package/hdx_read.html index 764c84af3d..fcc51b240c 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/templates/package/hdx_read.html +++ b/ckanext-hdx_theme/ckanext/hdx_theme/templates/package/hdx_read.html @@ -6,10 +6,14 @@ {% asset 'hdx_theme/dataset-styles' %} {% asset 'hdx_theme/dataset-read-styles' %} {% asset 'hdx_theme/dataset-quick-edit-styles' %} - - - - + {% if h.dcat_endpoints_enabled() %} + {% with endpoint=h.dcat_get_endpoint('dataset') %} + + + + + {% endwith %} + {% endif %} {% endblock %} {% set pkg = pkg_dict %} diff --git a/requirements.in b/requirements.in index 9f13839547..75aa834cec 100644 --- a/requirements.in +++ b/requirements.in @@ -72,7 +72,7 @@ rdflib-jsonld==0.4.0 geomet>=0.2.0 ckantoolkit==0.0.3 # ckanext-dcat --e git+https://github.com/OCHA-DAP/ckanext-dcat.git@1.1.204#egg=ckanext-dcat +-e git+https://github.com/OCHA-DAP/ckanext-dcat.git@1.1.205#egg=ckanext-dcat dogpile.cache==1.3.0 diff --git a/requirements.txt b/requirements.txt index 40423b7f45..eb293403e4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ # # pip-compile --output-file=requirements.txt requirements.in # --e git+https://github.com/OCHA-DAP/ckanext-dcat.git@1.1.204#egg=ckanext-dcat +-e git+https://github.com/OCHA-DAP/ckanext-dcat.git@1.1.205#egg=ckanext-dcat # via -r requirements.in -e git+https://github.com/OCHA-DAP/ckanext-requestdata.git@3.0.28#egg=ckanext-requestdata # via -r requirements.in