diff --git a/ckanext/dms/assets/css/dms.css b/ckanext/dms/assets/css/dms.css index c69db14..6e0e8f7 100644 --- a/ckanext/dms/assets/css/dms.css +++ b/ckanext/dms/assets/css/dms.css @@ -339,7 +339,6 @@ p.small { width: 100%; } - .category-box .group-text .title{ font-weight: 700; font-size: 16px; @@ -533,6 +532,7 @@ a.tag:hover { .footer-links img { width: 100%; + margin-bottom: 30px; } .main, .hero { diff --git a/ckanext/dms/plugin.py b/ckanext/dms/plugin.py index 1c4f3d3..99ce57f 100644 --- a/ckanext/dms/plugin.py +++ b/ckanext/dms/plugin.py @@ -56,6 +56,7 @@ def dataset_facets(self, facet_dict, package_type): def before_create(self, context, resource): if _data_dict_is_resource(resource): _giftless_upload(context, resource) + _update_resource_last_modified_date(resource) return resource @@ -66,8 +67,6 @@ def before_update(self, context, current, resource): return resource - - def _giftless_upload(context, resource, current=None): attached_file = resource.pop('upload', None) if attached_file: diff --git a/ckanext/dms/public/images/fjelltopp.png b/ckanext/dms/public/images/fjelltopp.png new file mode 100644 index 0000000..8b9afba Binary files /dev/null and b/ckanext/dms/public/images/fjelltopp.png differ diff --git a/ckanext/dms/templates/footer.html b/ckanext/dms/templates/footer.html index 25249fc..a784382 100644 --- a/ckanext/dms/templates/footer.html +++ b/ckanext/dms/templates/footer.html @@ -22,8 +22,9 @@ {% endblock %} {% endblock %} -