Skip to content

Commit

Permalink
[#688] Moves endblock to correct position
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Mar 26, 2013
1 parent 0f28d0f commit c843d08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ckan/templates/package/resource_read.html
Expand Up @@ -18,6 +18,7 @@
<div class="actions">
{% block resource_actions %}
<ul>
{% block resource_actions_inner %}
{% if h.check_access('package_update', {'id':pkg.id }) %}
<li>{% link_for _('Edit'), controller='package', action='resource_edit', id=pkg.name, resource_id=res.id, class_='btn', icon='wrench' %}</li>
{% endif %}
Expand All @@ -30,7 +31,7 @@
<i class="icon-key"></i> {{ _('API Endpoint') }}
{% else %}
<i class="icon-download"></i> {{ _('Download') }}
{%endif %}
{% endif %}
</a>
</li>
{% endif %}
Expand All @@ -39,6 +40,7 @@
{% endif %}
{% endblock %}
</ul>
{% endblock %}
</div>
{% block resource_content %}
{% block resource_read_title %}<h1 class="page-heading">{{ h.resource_display_name(res) | truncate(50) }}</h1>{% endblock %}
Expand Down

0 comments on commit c843d08

Please sign in to comment.