Skip to content

Commit

Permalink
[bug fix][xs]: instead of 'external_storage' use 'datapub' extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
anuveyatsu committed Oct 16, 2020
1 parent bc94492 commit 813a6f0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions ckanext/datapub/templates/datapub/snippets/upload_module.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% resource 'external-storage/css/main.1eb11ae4.chunk.css' %}
{% resource 'datapub/css/main.1eb11ae4.chunk.css' %}

{% resource 'external-storage/js/runtime-main.c155da57.js' %}
{% resource 'external-storage/js/2.82d30ea1.chunk.js' %}
{% resource 'external-storage/js/main.461b6301.chunk.js' %}
{% resource 'datapub/js/runtime-main.c155da57.js' %}
{% resource 'datapub/js/2.2599189b.chunk.js' %}
{% resource 'datapub/js/main.c4752953.chunk.js' %}

<div id="ResourceEditor"
data-dataset-id="{{ pkg_name }}"
Expand Down
2 changes: 1 addition & 1 deletion ckanext/datapub/templates/package/new_resource.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% ckan_extends %}

{% block form %}
{% snippet 'external_storage/snippets/upload_module.html', pkg_name=pkg_name, api_key=c.userobj.apikey, base_url=g.site_url, parent=super %}
{% snippet 'datapub/snippets/upload_module.html', pkg_name=pkg_name, api_key=c.userobj.apikey, base_url=g.site_url, parent=super %}
{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% ckan_extends %}

{% block form %}
{% snippet 'external_storage/snippets/upload_module.html', pkg_name=pkg_name, api_key=c.userobj.apikey, base_url=g.site_url, parent=super %}
{% snippet 'datapub/snippets/upload_module.html', pkg_name=pkg_name, api_key=c.userobj.apikey, base_url=g.site_url, parent=super %}
{% endblock %}
2 changes: 1 addition & 1 deletion ckanext/datapub/templates/package/resource_edit.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% ckan_extends %}

{% block form %}
{% snippet 'external_storage/snippets/upload_module.html', resource_id=res.id, pkg_name=pkg.name, parent=super %}
{% snippet 'datapub/snippets/upload_module.html', resource_id=res.id, pkg_name=pkg.name, parent=super %}
{% endblock %}

0 comments on commit 813a6f0

Please sign in to comment.