From 339cdd99886dfbb74d07f155d6878a6273c1519a Mon Sep 17 00:00:00 2001 From: pdelboca Date: Tue, 28 Feb 2023 10:46:27 -0300 Subject: [PATCH] Rename fanstatic to assets --- .../harvest/{fanstatic_library => assets}/styles/harvest.css | 0 .../harvest/{fanstatic_library => assets}/styles/harvest.less | 0 ckanext/harvest/{fanstatic_library => assets}/styles/less | 0 .../harvest/{fanstatic_library => assets}/styles/mixins.less | 0 .../harvest/{fanstatic_library => assets}/styles/variables.less | 0 ckanext/harvest/{fanstatic_library => assets}/webassets.yml | 0 ckanext/harvest/plugin.py | 2 +- 7 files changed, 1 insertion(+), 1 deletion(-) rename ckanext/harvest/{fanstatic_library => assets}/styles/harvest.css (100%) rename ckanext/harvest/{fanstatic_library => assets}/styles/harvest.less (100%) rename ckanext/harvest/{fanstatic_library => assets}/styles/less (100%) rename ckanext/harvest/{fanstatic_library => assets}/styles/mixins.less (100%) rename ckanext/harvest/{fanstatic_library => assets}/styles/variables.less (100%) rename ckanext/harvest/{fanstatic_library => assets}/webassets.yml (100%) diff --git a/ckanext/harvest/fanstatic_library/styles/harvest.css b/ckanext/harvest/assets/styles/harvest.css similarity index 100% rename from ckanext/harvest/fanstatic_library/styles/harvest.css rename to ckanext/harvest/assets/styles/harvest.css diff --git a/ckanext/harvest/fanstatic_library/styles/harvest.less b/ckanext/harvest/assets/styles/harvest.less similarity index 100% rename from ckanext/harvest/fanstatic_library/styles/harvest.less rename to ckanext/harvest/assets/styles/harvest.less diff --git a/ckanext/harvest/fanstatic_library/styles/less b/ckanext/harvest/assets/styles/less similarity index 100% rename from ckanext/harvest/fanstatic_library/styles/less rename to ckanext/harvest/assets/styles/less diff --git a/ckanext/harvest/fanstatic_library/styles/mixins.less b/ckanext/harvest/assets/styles/mixins.less similarity index 100% rename from ckanext/harvest/fanstatic_library/styles/mixins.less rename to ckanext/harvest/assets/styles/mixins.less diff --git a/ckanext/harvest/fanstatic_library/styles/variables.less b/ckanext/harvest/assets/styles/variables.less similarity index 100% rename from ckanext/harvest/fanstatic_library/styles/variables.less rename to ckanext/harvest/assets/styles/variables.less diff --git a/ckanext/harvest/fanstatic_library/webassets.yml b/ckanext/harvest/assets/webassets.yml similarity index 100% rename from ckanext/harvest/fanstatic_library/webassets.yml rename to ckanext/harvest/assets/webassets.yml diff --git a/ckanext/harvest/plugin.py b/ckanext/harvest/plugin.py index b4bf34425..8c05a971e 100644 --- a/ckanext/harvest/plugin.py +++ b/ckanext/harvest/plugin.py @@ -278,7 +278,7 @@ def configure(self, config): def update_config(self, config): p.toolkit.add_template_directory(config, 'templates') p.toolkit.add_public_directory(config, 'public') - p.toolkit.add_resource('fanstatic_library', 'ckanext-harvest') + p.toolkit.add_resource('assets', 'ckanext-harvest') p.toolkit.add_resource('public/ckanext/harvest/javascript', 'harvest-extra-field') if p.toolkit.check_ckan_version(min_version='2.9.0'):