diff --git a/.platform.app.yaml b/.platform.app.yaml index de53c2b9a..8bdbf9940 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -108,10 +108,10 @@ mounts: crons: # Publish scheduled pages once an hour - # https://docs.wagtail.io/en/stable/reference/management_commands.html#publish-scheduled-pages - publish_scheduled_pages: + # https://docs.wagtail.org/en/stable/reference/management_commands.html#publish-scheduled + publish_scheduled: spec: 0 * * * * - cmd: python manage.py publish_scheduled_pages + cmd: poetry run python manage.py publish_scheduled # Take snapshot at 5am every morning # https://docs.platform.sh/administration/snapshot-and-restore.html#automated-snapshots diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..f84d846f7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 The National Archives, UK + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/templates/records/archive_detail.html b/templates/records/archive_detail.html index ad7167108..794604e63 100644 --- a/templates/records/archive_detail.html +++ b/templates/records/archive_detail.html @@ -19,7 +19,7 @@ {% include "includes/records/archive-collections.html" %} {% include "includes/records/archive-additional-resources.html" %} - + {% endblock %} {% block extra_js %} diff --git a/templates/records/record_creators.html b/templates/records/record_creators.html index 82c045ea7..b8fce08f6 100644 --- a/templates/records/record_creators.html +++ b/templates/records/record_creators.html @@ -15,7 +15,7 @@
{% include "includes/records/record_creator_description.html" %} - +
{% endblock %} {% block extra_js %} diff --git a/templates/search/blocks/featured-search__record-creator.html b/templates/search/blocks/featured-search__record-creator.html index bc98f27ab..af7ec49d3 100644 --- a/templates/search/blocks/featured-search__record-creator.html +++ b/templates/search/blocks/featured-search__record-creator.html @@ -26,5 +26,5 @@

See all relevant {{ bucket.label_with_count }} - +

diff --git a/templates/search/blocks/native_website_result--grid.html b/templates/search/blocks/native_website_result--grid.html index 2cb71fcc7..e3e066842 100644 --- a/templates/search/blocks/native_website_result--grid.html +++ b/templates/search/blocks/native_website_result--grid.html @@ -44,5 +44,6 @@ {% endif %} + diff --git a/templates/search/blocks/search_results__list-card--grid.html b/templates/search/blocks/search_results__list-card--grid.html index 8a2416ff1..f02869159 100644 --- a/templates/search/blocks/search_results__list-card--grid.html +++ b/templates/search/blocks/search_results__list-card--grid.html @@ -55,4 +55,5 @@

{% endif %} {% endif %} + diff --git a/templates/search/native_website_search.html b/templates/search/native_website_search.html index 2b3e4d828..7bfd5e188 100644 --- a/templates/search/native_website_search.html +++ b/templates/search/native_website_search.html @@ -77,6 +77,7 @@

Results

+ {% if paginator.count %} {% include './blocks/search_pagination.html' %}