{% ckan_extends %} {% block content_action %} {% if h.check_access('package_update', {'id':pkg.name }) %} {{ _('Edit') }} {% endif %} {% if h.check_access('package_delete', {'id':pkg.name}) %} {% set locale = h.dump_json({'content': _('Are you sure you want to delete this dataset?')}) %} {% block delete_button_text %}{{ _('Delete') }}{% endblock %} {% endif %} {% endblock %}