{% ckan_extends %} {% block content_action %} {% set data_dict = {'id': pkg['id']} %} {% if h.check_access('package_update', data_dict) %} {% snippet "snippets/link_publication.html", pkg_dict=pkg %} {% endif %} {{ super() }} {% endblock %}