File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed
web/src/main/webapp/xslt/ui-metadata Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 935935 id =" gn-el-{$id}"
936936 data-gn-cardinality =" {$childEditInfo/@min}-{$childEditInfo/@max}"
937937 data-gn-field-highlight =" " >
938- <label class =" col-sm-2 control-label"
939- data-gn-field-tooltip =" {$schema}|{$qualifiedName}|{$parentName}|" >
940- <xsl : value-of select =" if (normalize-space($label) != '')
938+
939+ <xsl : choose >
940+ <xsl : when test =" $viewConfig/@displayTooltipsMode = 'icon'" >
941+ <!-- Avoid displaying the help icon next to buttons when the toolstip mode is icon -->
942+ <label class =" col-sm-2 control-label" >
943+ <xsl : value-of select =" if (normalize-space($label) != '')
941944 then $label else '  '" />
942- </label >
945+ </label >
946+ </xsl : when >
947+ <xsl : otherwise >
948+ <label class =" col-sm-2 control-label"
949+ data-gn-field-tooltip =" {$schema}|{$qualifiedName}|{$parentName}|" >
950+ <xsl : value-of select =" if (normalize-space($label) != '')
951+ then $label else '  '" />
952+ </label >
953+ </xsl : otherwise >
954+ </xsl : choose >
955+
943956 <div class =" col-sm-9" >
944957
945958 <xsl : variable name =" addDirective" select =" $directive/@addDirective != ''" />
You can’t perform that action at this time.
0 commit comments