From 8020491bf1721cc09dfdb5b5c199714d7a20165d Mon Sep 17 00:00:00 2001 From: Jens Schuppe Date: Thu, 6 Jun 2024 12:01:05 +0200 Subject: [PATCH] Repair help links in settings form (and reformat) --- templates/CRM/Twingle/Form/Settings.tpl | 86 +++++++++---------------- 1 file changed, 32 insertions(+), 54 deletions(-) diff --git a/templates/CRM/Twingle/Form/Settings.tpl b/templates/CRM/Twingle/Form/Settings.tpl index e5fa54f..42953e2 100644 --- a/templates/CRM/Twingle/Form/Settings.tpl +++ b/templates/CRM/Twingle/Form/Settings.tpl @@ -18,47 +18,41 @@ - + - + - + - + @@ -66,10 +60,6 @@ @@ -77,10 +67,6 @@ @@ -88,10 +74,6 @@ @@ -99,16 +81,11 @@
{$form.twingle_use_sepa.label}   + {$form.twingle_use_sepa.label} + {help id="id-twingle_use_sepa" title=$form.twingle_use_sepa.label} + {$form.twingle_use_sepa.html} -
- - {$formElements.twingle_use_sepa.description} -
{$form.twingle_dont_use_reference.label}   + {$form.twingle_dont_use_reference.label} + {help id="id-twingle_dont_use_reference" title=$form.twingle_dont_use_reference.label} + {$form.twingle_dont_use_reference.html} -
- - {$formElements.twingle_dont_use_reference.description} -
{$form.twingle_prefix.label}  {$form.twingle_prefix.label} + {help id="id-twingle_prefix" title=$form.twingle_prefix.label} + {$form.twingle_prefix.html} -
- - {$formElements.twingle_prefix.description} -
{$form.twingle_protect_recurring.label}  {$form.twingle_protect_recurring.label} + {help id="id-twingle_protect_recurring" title=$form.twingle_protect_recurring.label} + {$form.twingle_protect_recurring.html} -
- - {$formElements.protect_recurring.description} -
{$form.twingle_protect_recurring_activity_type.label} {$form.twingle_protect_recurring_activity_type.html} -
- - {$formElements.twingle_protect_recurring_activity_type.description} -
{$form.twingle_protect_recurring_activity_subject.label} {$form.twingle_protect_recurring_activity_subject.html} -
- - {$formElements.twingle_protect_recurring_activity_subject.description} -
{$form.twingle_protect_recurring_activity_status.label} {$form.twingle_protect_recurring_activity_status.html} -
- - {$formElements.twingle_protect_recurring_activity_status.description} -
{$form.twingle_protect_recurring_activity_assignee.label} {$form.twingle_protect_recurring_activity_assignee.html} -
- - {$formElements.twingle_protect_recurring_activity_assignee.description} -
-
{include file="CRM/common/formButtons.tpl" location="bottom"}
@@ -116,22 +93,23 @@ {literal} - -{/literal} \ No newline at end of file + cj(document).ready(function () { + cj('#twingle_protect_recurring').change(twingle_protect_recurring_change); + twingle_protect_recurring_change(); + }); + +{/literal}