{% ckan_extends %} {% block resource_actions_inner %} {{ super() }} {% if res.datastore_active %}
  • {% snippet 'package/snippets/data_api_button.html', resource=res %}
  • {% endif %} {% endblock %} {% block download_resource_button %} {% if res.datastore_active %} {% endif %} {% endblock download_resource_button %} {% block resource_additional_information_inner %} {% if res.datastore_active %} {% block resource_data_dictionary %} {% snippet 'datastore/snippets/dictionary_view.html', ddict=h.datastore_dictionary(res.id), res=res %} {% endblock %} {% endif %} {{ super() }} {% endblock %} {% block action_manage_inner %} {{ super() }} {% if res.datastore_active %}
  • {% link_for _('Data Dictionary'), named_route='datastore.dictionary', id=pkg.name, resource_id=res.id, class_='btn btn-default', icon='code' %}
  • {% endif %} {% endblock %} {% block scripts %} {{ super() }} {% asset "ckanext_datastore/datastore" %} {% endblock %}