From 6d26fd6d42e21f629230ad499368676e250bda36 Mon Sep 17 00:00:00 2001 From: "b.endres" Date: Mon, 12 Aug 2024 20:28:28 +0200 Subject: [PATCH 1/4] @vurt2's proposal for #50 --- templates/CRM/Bic/Page/BicList.tpl | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/CRM/Bic/Page/BicList.tpl b/templates/CRM/Bic/Page/BicList.tpl index 6cee03d..11df65e 100644 --- a/templates/CRM/Bic/Page/BicList.tpl +++ b/templates/CRM/Bic/Page/BicList.tpl @@ -69,7 +69,7 @@ {foreach from=$countries item=country} {/foreach} - + @@ -98,13 +98,13 @@ {/literal} -{/crmScope} \ No newline at end of file +{/crmScope} From a3029b00d39e072f0b5961b2ab4d873988f9d0d1 Mon Sep 17 00:00:00 2001 From: "b.endres" Date: Mon, 12 Aug 2024 20:32:12 +0200 Subject: [PATCH 2/4] second occurrence --- templates/CRM/Bic/Page/BicList.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/CRM/Bic/Page/BicList.tpl b/templates/CRM/Bic/Page/BicList.tpl index 11df65e..f1f7064 100644 --- a/templates/CRM/Bic/Page/BicList.tpl +++ b/templates/CRM/Bic/Page/BicList.tpl @@ -14,7 +14,7 @@ {crmScope extensionKey='org.project60.bic'} {if $show_message} -
{ts}This page allows you to find banks and additional information. If you can't find the bank you're looking for, you may want to update your bank list.{/ts}
+
{ts}This page allows you to find banks and additional information. If you can't find the bank you're looking for, you may want to update your bank list.{/ts}
{/if} @@ -171,7 +171,6 @@ cj("#iban_results").append(line); } else { - var line = "Could not find any match with this criteria. You may want to update your bank list."; cj("#iban_results").empty(); cj("#iban_results").append(line); } From bca40a0341fe6f13425a242e6ac55375c80dfd3d Mon Sep 17 00:00:00 2001 From: "b.endres" Date: Mon, 12 Aug 2024 20:40:46 +0200 Subject: [PATCH 3/4] fixing nested quotes --- templates/CRM/Bic/Page/BicList.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Bic/Page/BicList.tpl b/templates/CRM/Bic/Page/BicList.tpl index f1f7064..6ee6f1a 100644 --- a/templates/CRM/Bic/Page/BicList.tpl +++ b/templates/CRM/Bic/Page/BicList.tpl @@ -14,7 +14,7 @@ {crmScope extensionKey='org.project60.bic'} {if $show_message} -
{ts}This page allows you to find banks and additional information. If you can't find the bank you're looking for, you may want to update your bank list.{/ts}
+
{ts}This page allows you to find banks and additional information. If you can't find the bank you're looking for, you may want to update your bank list.{/ts}
{/if} @@ -138,7 +138,7 @@ cj("#results").append(line); } else { - var line = "Could not find any match with this criteria. You may want to update your bank list."; + var line = "Could not find any match with this criteria. You may want to update your bank list."; cj("#results").empty(); cj("#results").append(line); } @@ -171,6 +171,7 @@ cj("#iban_results").append(line); } else { + let line = "Could not find any match with this criteria. You may want to update your bank list."; cj("#iban_results").empty(); cj("#iban_results").append(line); } From d21d5df0096334f27562bc1b2c0b0181b9cd5eaa Mon Sep 17 00:00:00 2001 From: "b.endres" Date: Tue, 13 Aug 2024 20:39:31 +0200 Subject: [PATCH 4/4] added url prefix to bicList page, too --- templates/CRM/Bic/Page/Config.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/CRM/Bic/Page/Config.tpl b/templates/CRM/Bic/Page/Config.tpl index 92f37bc..4604e20 100644 --- a/templates/CRM/Bic/Page/Config.tpl +++ b/templates/CRM/Bic/Page/Config.tpl @@ -17,7 +17,7 @@ If you click the Update button, next to the name of one of the listed countries, CiviCRM will try to connect to the official source of financial institutions in this country and retrieve its bank information. Then, you'll be able to - query this information in the Banks List page. + query this information in the Banks List page. {/ts} {* TODO: make this more beatiful ;) *} @@ -77,7 +77,7 @@ {/literal} -{/crmScope} \ No newline at end of file +{/crmScope}