From c56e11eb164cba0f90a4ee4aa5610774c6b49cd5 Mon Sep 17 00:00:00 2001 From: romer8 Date: Wed, 26 Jun 2024 11:09:46 -0600 Subject: [PATCH] fixed, the height of images --- hydroshare_resources_app/static/js/hs_resources.js | 4 ++-- hydroshare_resources_app/views.py | 2 -- zotero_publications_app/cms_apps.py | 11 ----------- 3 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 zotero_publications_app/cms_apps.py diff --git a/hydroshare_resources_app/static/js/hs_resources.js b/hydroshare_resources_app/static/js/hs_resources.js index 3f188f5..db48673 100644 --- a/hydroshare_resources_app/static/js/hs_resources.js +++ b/hydroshare_resources_app/static/js/hs_resources.js @@ -37,7 +37,7 @@ const fetchHydroShareResources = () => {
- ... + ... ` } resourcesHTML += ` diff --git a/hydroshare_resources_app/views.py b/hydroshare_resources_app/views.py index 9ccb1f5..b17c3ed 100644 --- a/hydroshare_resources_app/views.py +++ b/hydroshare_resources_app/views.py @@ -43,10 +43,8 @@ def hydroshare_resources_view(request): resources_api = hs.resources(subject=keywords) resources_model = instance.resources.get("resources", []) - # logging.warning(resources_model) for resource_api in resources_api: - # logging.warning(resource_api['resource_title']) matching_resource_model = get_dict_with_attribute( resources_model, "resource_id", resource_api["resource_id"] diff --git a/zotero_publications_app/cms_apps.py b/zotero_publications_app/cms_apps.py deleted file mode 100644 index 01157fa..0000000 --- a/zotero_publications_app/cms_apps.py +++ /dev/null @@ -1,11 +0,0 @@ -from cms.app_base import CMSApp -from cms.apphook_pool import apphook_pool - - -@apphook_pool.register # register the application -class ZoteroPublicationsAppApphook(CMSApp): - app_name = "zotero_publications_app" - name = "Zotero Publications Application" - - def get_urls(self, page=None, language=None, **kwargs): - return ["zotero_publications_app.urls"]