diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d847c5ad..645371c1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,8 +23,7 @@ jobs: sed -i "s/version='[0-9]\{1,2\}.[0-9]\{1,4\}.[0-9]\{1,4\}',/version='${{github.event.inputs.version_no}}',/g" setup.py - name: Create packages run: | - python setup.py sdist - python setup.py bdist_wheel + python -m build - name: pypi-publish uses: pypa/gh-action-pypi-publish@release/v1 with: diff --git a/ckanext/datagovtheme/fanstatic_library/styles/datagovtheme.css b/ckanext/datagovtheme/fanstatic_library/styles/datagovtheme.css index 6643fa9f..b0aa60cc 100644 --- a/ckanext/datagovtheme/fanstatic_library/styles/datagovtheme.css +++ b/ckanext/datagovtheme/fanstatic_library/styles/datagovtheme.css @@ -2470,6 +2470,7 @@ article.module.prose h3 { height: auto; padding: 14px 10px; width: 100%; + color: #595959 } .search-giant button { background: transparent url('/../../base/images/icon-search-27x26.png') no-repeat scroll center center; diff --git a/ckanext/datagovtheme/templates/package/search.html b/ckanext/datagovtheme/templates/package/search.html index 9c7570f0..ee4a90aa 100644 --- a/ckanext/datagovtheme/templates/package/search.html +++ b/ckanext/datagovtheme/templates/package/search.html @@ -13,7 +13,7 @@ {% set search_placeholder = 'Search collection...' if request.args.collection_package_id else 'Search datasets...' %} - + {{ h.snippet('snippets/sort_by.html', sort=c.sort_by_selected) }} @@ -52,11 +52,6 @@ {% endif %} {% endfor %} - {% if request.args and c.page.item_count == 0 %} - {% trans %} -

Please try another search.

- {% endtrans %} - {% endif %} {{ _('Filter Results') }} @@ -91,6 +86,11 @@
+ {% if request.args and c.page.item_count == 0 %} + {% trans %} +

Please try another search.

+ {% endtrans %} + {% endif %}

{% set api_link = h.link_to(_('API'), h.url_for(controller='api', action='get_api', ver=3)) %}