Skip to content

Commit

Permalink
[#1301] Adds template blocks to the resource_read template
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Nov 19, 2013
1 parent 1b3261d commit 5bb5a07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ckan/templates/package/resource_read.html
Expand Up @@ -21,6 +21,7 @@
{% block pre_primary %}
{% block resource %}
<section class="module module-resource">
{% block resource_inner %}
<div class="module-content">
<div class="actions">
{% block resource_actions %}
Expand Down Expand Up @@ -75,6 +76,7 @@ <h3>{{ _('From the dataset abstract') }}</h3>
{% block data_preview %}
{{ h.resource_preview(c.resource, c.package) }}
{% endblock %}
{% endblock %}
</section>
{% endblock %}
{% endblock %}
Expand All @@ -83,6 +85,7 @@ <h3>{{ _('From the dataset abstract') }}</h3>
{% block resource_additional_information %}
{% if res %}
<section class="module">
{% 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">
Expand Down Expand Up @@ -115,6 +118,7 @@ <h2>{{ _('Additional Information') }}</h2>
</tbody>
</table>
</div>
{% endblock %}
</section>
{% endif %}
{% endblock %}
Expand Down

0 comments on commit 5bb5a07

Please sign in to comment.