diff --git a/ckan/patches/ckan/00_resourcedictionary_templates.patch b/ckan/patches/ckan/00_resourcedictionary_templates.patch deleted file mode 100644 index f881ff85..00000000 --- a/ckan/patches/ckan/00_resourcedictionary_templates.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff --git a/ckan/templates/package/resource_read.html b/ckan/templates/package/resource_read.html -index 7c8c6f9..6f2342a 100644 ---- a/ckan/templates/package/resource_read.html -+++ b/ckan/templates/package/resource_read.html -@@ -40,12 +40,14 @@ - {{ _('API Endpoint') }} - {% elif not res.has_views and not res.url_type == 'upload' %} - {{ _('Go to resource') }} -+ {% elif res.has_views and not res.url_type == 'upload' %} -+ {{ _('Go to resource') }} - {% else %} - {{ _('Download') }} - {% endif %} - - {% block download_resource_button %} -- {% if res.datastore_active %} -+ {% if res.datastore_active and res.url_type == 'datastore' %} - -@@ -224,4 +226,4 @@ - {% block resource_license %} - {% snippet "snippets/social.html" %} - {% endblock %} --{% endblock %} -+{% endblock %} -\ No newline at end of file -diff --git a/ckanext/datastore/templates-bs2/package/resource_read.html b/ckanext/datastore/templates-bs2/package/resource_read.html -index 3c77876..1d856e0 100644 ---- a/ckanext/datastore/templates-bs2/package/resource_read.html -+++ b/ckanext/datastore/templates-bs2/package/resource_read.html -@@ -2,7 +2,7 @@ - - {% block resource_actions_inner %} - {{ super() }} -- {% if res.datastore_active %} -+ {% if res.datastore_active and res.url_type == 'datastore' %} -