From 2e219a9699429c57c947ccb4a7d88581850f4657 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Wed, 2 Sep 2020 18:09:34 +0100 Subject: [PATCH] Display url_site and url_recur based on if the form elements exist instead of other variables --- templates/CRM/Admin/Form/PaymentProcessor.tpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Admin/Form/PaymentProcessor.tpl b/templates/CRM/Admin/Form/PaymentProcessor.tpl index 67464d00e9..a18fde9943 100644 --- a/templates/CRM/Admin/Form/PaymentProcessor.tpl +++ b/templates/CRM/Admin/Form/PaymentProcessor.tpl @@ -73,15 +73,17 @@ {$form.subject.label}{$form.subject.html} {help id=$ppTypeName|cat:'-live-subject' title=$form.subject.label} {/if} +{if $form.url_site} {$form.url_site.label}{$form.url_site.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-live-url-site' title=$form.url_site.label} +{/if} {if $form.url_api} {$form.url_api.label}{$form.url_api.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-live-url-api' title=$form.url_api.label} {/if} -{if $is_recur} +{if $form.url_recur} {$form.url_recur.label}{$form.url_recur.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-live-url-recur' title=$form.url_recur.label} @@ -114,15 +116,17 @@ {$form.test_subject.label}{$form.test_subject.html} {help id=$ppTypeName|cat:'-test-subject' title=$form.test_subject.label} {/if} +{if $form.test_url_site} {$form.test_url_site.label}{$form.test_url_site.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-test-url-site' title=$form.test_url_site.label} +{/if} {if $form.test_url_api} {$form.test_url_api.label}{$form.test_url_api.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-test-url-api' title=$form.test_url_api.label} {/if} -{if $is_recur} +{if $form.test_url_recur} {$form.test_url_recur.label}{$form.test_url_recur.html|crmAddClass:huge} {help id=$ppTypeName|cat:'-test-url-recur' title=$form.test_url_recur.label} -- 2.25.1