Skip to content
Snippets Groups Projects
Commit 1168cfd3 authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Fixed resource title and description nesting

parent 979715ba
No related branches found
No related tags found
1 merge request!50Upgraded to CKAN 2.10
...@@ -16,11 +16,12 @@ ...@@ -16,11 +16,12 @@
{{ h.resource_display_name(res) | truncate(50) }} {{ h.resource_display_name(res) | truncate(50) }}
</a> </a>
{% endif %} {% endif %}
</div>
{% block resource_item_description %} {% block resource_item_description %}
<div class="resource-description"> <div class="resource-description">
{% if res.description %} {% if res.description %}
<p class="description"> <p class="description">
{{ h.markdown_extract(res.description, extract_length=80) }} {{ h.markdown_extract(res.description, extract_length=100) }}
</p> </p>
{% endif %} {% endif %}
{% if resource_size %} {% if resource_size %}
...@@ -32,7 +33,6 @@ ...@@ -32,7 +33,6 @@
{% endif %} {% endif %}
</div> </div>
{% endblock %} {% endblock %}
</div>
<div class="resource-icons"> <div class="resource-icons">
{% block resource_item_explore_links %} {% block resource_item_explore_links %}
<a href="{{ download }}" aria-label="{{ _('download file') }}"> <a href="{{ download }}" aria-label="{{ _('download file') }}">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment