Skip to content

Commit

Permalink
Merge pull request #6178 from OCHA-DAP/upgrade/ckan-2-10-1-ckanext-dcat
Browse files Browse the repository at this point in the history
update ckanext-dcat
  • Loading branch information
alexandru-m-g authored Jan 8, 2024
2 parents f3bde60 + b8f770c commit 4875708
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@
{% asset 'hdx_theme/dataset-styles' %}
{% asset 'hdx_theme/dataset-read-styles' %}
{% asset 'hdx_theme/dataset-quick-edit-styles' %}
<link rel="alternate" type="application/ld+json" href="{{ h.url_for('dcat.read_dataset_jsonld', _id=pkg.id, profiles='schemaorg', qualified=True) }}"/>
<link rel="alternate" type="text/n3" href="{{ h.url_for('dcat.read_dataset_n3', _id=pkg.id, qualified=True) }}"/>
<link rel="alternate" type="text/ttl" href="{{ h.url_for('dcat.read_dataset_ttl', _id=pkg.id, qualified=True) }}"/>
<link rel="alternate" type="application/rdf+xml" href="{{ h.url_for('dcat.read_dataset_xml', _id=pkg.id, qualified=True) }}"/>
{% if h.dcat_endpoints_enabled() %}
{% with endpoint=h.dcat_get_endpoint('dataset') %}
<link rel="alternate" type="application/ld+json" href="{{ h.url_for('dcat.read_dataset_jsonld', _id=pkg.id, profiles='schemaorg', qualified=True) }}"/>
<link rel="alternate" type="text/n3" href="{{ h.url_for('dcat.read_dataset_n3', _id=pkg.id, qualified=True) }}"/>
<link rel="alternate" type="text/turtle" href="{{ h.url_for('dcat.read_dataset_ttl', _id=pkg.id, qualified=True) }}"/>
<link rel="alternate" type="application/rdf+xml" href="{{ h.url_for('dcat.read_dataset_xml', _id=pkg.id, qualified=True) }}"/>
{% endwith %}
{% endif %}
{% endblock %}

{% set pkg = pkg_dict %}
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].204#egg=ckanext-dcat
-e git+https://github.com/OCHA-DAP/[email protected].205#egg=ckanext-dcat

dogpile.cache==1.3.0

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# pip-compile --output-file=requirements.txt requirements.in
#
-e git+https://github.com/OCHA-DAP/[email protected].204#egg=ckanext-dcat
-e git+https://github.com/OCHA-DAP/[email protected].205#egg=ckanext-dcat
# via -r requirements.in
-e git+https://github.com/OCHA-DAP/[email protected]#egg=ckanext-requestdata
# via -r requirements.in
Expand Down

0 comments on commit 4875708

Please sign in to comment.