{% ckan_extends %} {% block resource_actions_inner %} {% block action_manage %} {% if h.check_access('package_update', {'id':pkg.id }) %}
  • {% link_for _('Manage'), named_route=pkg.type ~ '_resource.edit', id=pkg.name, resource_id=res.id, class_='btn btn-default', icon='wrench' %}
  • {% endif %} {% endblock action_manage %}
  • {% if res.url and h.is_url(res.url) %} {% if res.resource_type in ('listing', 'service') %} {{ _('View') }} {% elif res.resource_type == 'api' %} {{ _('API Endpoint') }} {% elif not res.has_views and not res.url_type == 'upload' %} {{ _('Go to resource') }} {% else %} {{ _('Download') }} {% endif %} {% endif %} {% block download_resource_button %} {% if res.datastore_active %} {% endif %} {% endblock %}
  • {% if h.is_enabled_utilizations_org(pkg.owner_org) %}
  • {{ _('Create utilization application') }}
  • {% endif %} {% if h.is_enabled_resources_org(pkg.owner_org) %}
  • {{ _('Comment') }}
  • {% endif %} {% endblock %} {% block resource_read_url %} {% if res.url and h.is_url(res.url) %}

    {{ _('URL:') }} {{ res.url }}

    {% elif res.url %}

    {{ _('URL:') }} {{ res.url }}

    {% endif %} {% endblock %}