Skip to content

Commit 6349529

Browse files
Fix missing extras block in additional_info template override
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ccde0fa commit 6349529

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

ckan/templates/package/snippets/additional_info.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,14 @@
6969
</td>
7070
</tr>
7171
{% endif %}
72+
73+
{% block extras scoped %}
74+
{% for extra in h.sorted_extras(pkg_dict.extras) %}
75+
{% set key, value = extra %}
76+
<tr rel="dc:relation" resource="_:extra{{ i }}">
77+
<th scope="row" class="dataset-label" property="rdfs:label">{{ _(key|e) }}</th>
78+
<td class="dataset-details" property="rdf:value">{{ value }}</td>
79+
</tr>
80+
{% endfor %}
81+
{% endblock %}
7282
{% endblock %}

0 commit comments

Comments
 (0)