diff --git a/changes/216.canada.removal b/changes/216.canada.removal new file mode 100644 index 00000000000..8c4beb84758 --- /dev/null +++ b/changes/216.canada.removal @@ -0,0 +1 @@ +Removed the Resource View embed button and modal due to `X-Frame-Options: SAMEORIGIN` security requirement preventing embeds. \ No newline at end of file diff --git a/ckan/templates/package/snippets/resource_view.html b/ckan/templates/package/snippets/resource_view.html index 3f7785f9f7c..84f16e3102f 100644 --- a/ckan/templates/package/snippets/resource_view.html +++ b/ckan/templates/package/snippets/resource_view.html @@ -12,15 +12,7 @@ {{ _("Fullscreen") }} - {# (canada fork only): non-qualified URIs #} - - - {{ _("Embed") }} - + {# (canada fork only): remove embed dur to X-Frame-Options:SAMEORIGIN #} {% block description %}
{{ h.render_markdown(resource_view['description']) }}
@@ -72,29 +64,6 @@ {% endif %} - + {# (canada fork only): remove embed dur to X-Frame-Options:SAMEORIGIN #} {% endblock %}