[Bps-public-commit] rt-extension-formtools branch dynamic-forms-from-config updated. 0.53-68-gbf65881

BPS Git Server git at git.bestpractical.com
Fri Oct 27 21:21:49 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt-extension-formtools".

The branch, dynamic-forms-from-config has been updated
       via  bf65881a63c2da86eed2bded28411a9a17ce21ab (commit)
      from  827f574bd6d31cd0717bab6bfdd8916bfc7eb97b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bf65881a63c2da86eed2bded28411a9a17ce21ab
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Oct 27 17:17:46 2023 -0400

    Not only wrap help tooltip in labels
    
    This is the same fix as in RT core.

diff --git a/html/FormTools/Field b/html/FormTools/Field
index f7694be..42fe477 100644
--- a/html/FormTools/Field
+++ b/html/FormTools/Field
@@ -127,7 +127,7 @@ $default = '' unless defined $default;
 
 % if ($render_as ne 'hidden' && $show_label) { # no label if hidden
 
-<&| /Elements/LabeledValue, RawLabel => $m->interp->apply_escapes($field_label, 'h') . $after_label, LabelTooltip => $tooltip &>
+<&| /Elements/LabeledValue, RawLabel => $m->interp->apply_escapes($field_label, 'h') . $after_label, LabelSpanClass => $tooltip ? 'prev-icon-helper' : '', LabelTooltip => $tooltip &>
   <& SELF:Value, %ARGS, input_name => $input_name, field_type => $field_type, default => $default, values => \@values, cf => $cf &>
   <% $after_input |n %>
 </&>

-----------------------------------------------------------------------

Summary of changes:
 html/FormTools/Field | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
rt-extension-formtools


More information about the Bps-public-commit mailing list