From e5a040123fe09e780f3b84008bbdb3681c23fa7a Mon Sep 17 00:00:00 2001 From: Myles Lewando Date: Tue, 4 Mar 2025 11:24:20 +0000 Subject: [PATCH] templates: Replace organization with organisation everywhere in the UI https://github.com/ThreeSixtyGiving/grantnav/issues/1141 --- .../templates/components/filters/groups/funder-filters.html | 2 +- .../components/filters/lists/filter-list-funding-org.html | 2 +- .../components/filters/lists/filter-list-recipient-org.html | 2 +- .../frontend/templates/components/grant-info-highlight.html | 4 ++-- grantnav/frontend/templates/grant.html | 4 ++-- grantnav/frontend/templates/search.html | 4 ++-- grantnav/frontend/templates/search_widgets.html | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/grantnav/frontend/templates/components/filters/groups/funder-filters.html b/grantnav/frontend/templates/components/filters/groups/funder-filters.html index 14b708a6..6463d497 100644 --- a/grantnav/frontend/templates/components/filters/groups/funder-filters.html +++ b/grantnav/frontend/templates/components/filters/groups/funder-filters.html @@ -5,7 +5,7 @@ {% include 'tokens/accordion-toggle-icon.html' %}
- {% include 'components/filters/lists/filter-list-generic-checkboxes.html' with open=True aggregate_data=results.aggregations.fundingOrganizationTSGType filter_title="Funding Organization Type" %} + {% include 'components/filters/lists/filter-list-generic-checkboxes.html' with open=True aggregate_data=results.aggregations.fundingOrganizationTSGType filter_title="Funding Organisation Type" %} {% include 'components/filters/lists/filter-list-funding-org.html' %} {% include 'components/filters/lists/filter-list-programme-title.html' %}
diff --git a/grantnav/frontend/templates/components/filters/lists/filter-list-funding-org.html b/grantnav/frontend/templates/components/filters/lists/filter-list-funding-org.html index 64c9009d..bb9de694 100644 --- a/grantnav/frontend/templates/components/filters/lists/filter-list-funding-org.html +++ b/grantnav/frontend/templates/components/filters/lists/filter-list-funding-org.html @@ -2,7 +2,7 @@
-
Funding Organizations {% if results.aggregations.fundingOrganization.clear_url %} (clear) {% endif%}
+
Funding Organisations {% if results.aggregations.fundingOrganization.clear_url %} (clear) {% endif%}
{% include 'tokens/accordion-toggle-icon.html' %}
diff --git a/grantnav/frontend/templates/components/filters/lists/filter-list-recipient-org.html b/grantnav/frontend/templates/components/filters/lists/filter-list-recipient-org.html index bcab4db2..8a6ac6c1 100644 --- a/grantnav/frontend/templates/components/filters/lists/filter-list-recipient-org.html +++ b/grantnav/frontend/templates/components/filters/lists/filter-list-recipient-org.html @@ -2,7 +2,7 @@
-
Recipient Organizations {% if results.aggregations.recipientOrganization.clear_url %} (clear) {% endif%}
+
Recipient Organisations {% if results.aggregations.recipientOrganization.clear_url %} (clear) {% endif%}
{% include 'tokens/accordion-toggle-icon.html' %}
diff --git a/grantnav/frontend/templates/components/grant-info-highlight.html b/grantnav/frontend/templates/components/grant-info-highlight.html index 5afec6aa..93a945fb 100644 --- a/grantnav/frontend/templates/components/grant-info-highlight.html +++ b/grantnav/frontend/templates/components/grant-info-highlight.html @@ -1,6 +1,6 @@
-
Funding Organization
+
Funding Organisation
{{ funder_name }} @@ -18,7 +18,7 @@
-
Recipient Organization
+
Recipient Organisation
{{ recipient_name }} diff --git a/grantnav/frontend/templates/grant.html b/grantnav/frontend/templates/grant.html index 2ed80d7e..95ed9563 100644 --- a/grantnav/frontend/templates/grant.html +++ b/grantnav/frontend/templates/grant.html @@ -26,7 +26,7 @@

{% if grant.source.recipientOrganization.0.id %}
-
Recipient Organization
+
Recipient Organisation
diff --git a/grantnav/frontend/templates/search.html b/grantnav/frontend/templates/search.html index 08bb78cb..198c3f07 100644 --- a/grantnav/frontend/templates/search.html +++ b/grantnav/frontend/templates/search.html @@ -254,14 +254,14 @@

Search input is not valid

templateResult: formatDropdownItem, templateSelection: formatSelection, dropdownCssClass: 'filter-list filter-list--with-checkboxes', - placeholder: 'Search for funding organizations', + placeholder: 'Search for funding organisations', ajax: get_filter_search_ajax('fundingOrganization', 'id_and_name') }; let recipient_options = $.extend({}, funder_options); recipient_options = $.extend(recipient_options, { - placeholder: 'Search for recipient organizations', + placeholder: 'Search for recipient organisations', ajax: get_filter_search_ajax('recipientOrganization', 'id_and_name') }); diff --git a/grantnav/frontend/templates/search_widgets.html b/grantnav/frontend/templates/search_widgets.html index 02df099a..1081c6b0 100644 --- a/grantnav/frontend/templates/search_widgets.html +++ b/grantnav/frontend/templates/search_widgets.html @@ -409,7 +409,7 @@

Search input is not valid

templateResult: formatDropdownItem, templateSelection: formatSelection, dropdownCssClass: 'filter-list filter-list--with-checkboxes', - placeholder: 'Search for funding organizations', + placeholder: 'Search for funding organisations', ajax: get_filter_search_ajax('fundingOrganization', 'id_and_name') }; @@ -451,7 +451,7 @@

Search input is not valid

let recipient_options = $.extend({}, funder_options); recipient_options = $.extend(recipient_options, { - placeholder: 'Search for recipient organizations', + placeholder: 'Search for recipient organisations', ajax: get_filter_search_ajax('recipientOrganization', 'id_and_name') });