Closed lukecampbell closed 7 years ago
I added templates/package/resource_read.html
to the templates in this plugin and copied only the section we needed to modify.
--- a/ckan/templates/package/resource_read.html
+++ b/ckan/templates/package/resource_read.html
@@ -145,7 +145,7 @@
{% block resource_additional_information_inner %}
<div class="module-content">
<h2>{{ _('Additional Information') }}</h2>
- <table class="table table-striped table-bordered table-condensed" data-module="table-toggle-more">
+ <table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th scope="col">{{ _('Field') }}</th>
That way the extension will extend the existing template but with our small change so that the table doesn't expand.
Looks good to me, thanks.
Fixes https://github.com/ioos/catalog-ckan/issues/156