Closed Hoedic closed 10 years ago
By default, when installing the QA extension, the rating at the resource level does not work (although the /qa/ works fine).
After investigation, it appears that one of the template block is not coherent with the main CKAN template.
File ckanext-qa/ckanext/qa/templates_extend/package/resource_read.html
ckanext-qa/ckanext/qa/templates_extend/package/resource_read.html
The first block is declared as follow
{% block resource_additional_information %} {{ super() }} {{ h.qa_stars(c.resource.id) }} {% endblock %}
But in the master CKAN template (ckan/templates/package/resource_read.html), there is no such block. The only equivalent thing is
ckan/templates/package/resource_read.html
{% block resource_additional_information %}
Cc @johnmartin
By default, when installing the QA extension, the rating at the resource level does not work (although the /qa/ works fine).
After investigation, it appears that one of the template block is not coherent with the main CKAN template.
File
ckanext-qa/ckanext/qa/templates_extend/package/resource_read.html
The first block is declared as follow
But in the master CKAN template (
ckan/templates/package/resource_read.html
), there is no such block. The only equivalent thing is{% block resource_additional_information %}