Skip to content

Commit

Permalink
Fix wrong HTML self-closed elements.
Browse files Browse the repository at this point in the history
Related to #8015
  • Loading branch information
josegar74 authored and github-actions[bot] committed Dec 9, 2024
1 parent d591574 commit ff43bdb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions web/src/main/webapp/xslt/ui-metadata/form-builder.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,7 @@
data-gn-click-and-spin="remove({$elementToRemove/@ref}, {$elementToRemove/@parent}, {$editInfo/@ref})"
data-gn-field-highlight-remove="{$editInfo/@ref}"
data-toggle="tooltip" data-placement="top" title="{{{{'deleteField' | translate}}}}">
<i class="fa fa-times text-danger gn-control"/>
<i class="fa fa-times text-danger gn-control"></i>
</a>
</xsl:if>
</xsl:template>
Expand Down Expand Up @@ -1521,7 +1521,7 @@
<div class="form-group {$class} gn-attr-{replace($attributeName, ':', '_')}" id="gn-attr-{$fieldName}">
<label class="col-sm-4">
<xsl:if test="$attributeName = 'xlink:href'">
<i class="fa fa-link fa-fw"/>
<i class="fa fa-link fa-fw"></i>
</xsl:if>
<xsl:value-of select="gn-fn-metadata:getLabel($schema, $attributeName, $labels, name(..), '', gn-fn-metadata:getXPath(.))/label"/>
</label>
Expand Down Expand Up @@ -1642,7 +1642,7 @@
data-params="{$process-params}"
data-icon="{$btnClass}"
data-name="{normalize-space($strings/*[name() = $process-label-key])}"
data-help="{normalize-space($strings/*[name() = concat($process-name, 'Help')])}"/>
data-help="{normalize-space($strings/*[name() = concat($process-name, 'Help')])}"></span>
</div>
</div>
</xsl:template>
Expand All @@ -1659,7 +1659,7 @@
data-params="{$process-params}"
data-icon="{$btnClass}"
data-name="{normalize-space($strings/*[name() = $process-name])}"
data-help="{normalize-space($strings/*[name() = concat($process-name, 'Help')])}"/>
data-help="{normalize-space($strings/*[name() = concat($process-name, 'Help')])}"></span>
</div>
</div>
</xsl:template>
Expand Down
6 changes: 3 additions & 3 deletions web/src/main/webapp/xslt/ui-metadata/menu-builder.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<div class="gn-scroll-spy"
data-gn-scroll-spy="gn-editor-{$metadataId}"
data-watch=""
data-all-depth="{if ($isFlatMode) then 'true' else 'false'}"/>
data-all-depth="{if ($isFlatMode) then 'true' else 'false'}"></div>

<div class="nav nav-tabs">
<!-- Make a drop down choice to swith to one view to another -->
Expand Down Expand Up @@ -106,15 +106,15 @@
<li role="menuitem">
<a data-ng-click="toggleAttributes(true)" href="">
<i class="fa"
data-ng-class="gnCurrentEdit.displayAttributes ? 'fa-check-square-o' : 'fa-square-o'"/>
data-ng-class="gnCurrentEdit.displayAttributes ? 'fa-check-square-o' : 'fa-square-o'"></i>
&#160;
<span data-translate="">toggleAttributes</span>
</a>
</li>
<li role="menuitem">
<a data-ng-click="toggleTooltips(true)" href="">
<i class="fa"
data-ng-class="gnCurrentEdit.displayTooltips ? 'fa-check-square-o' : 'fa-square-o'"/>
data-ng-class="gnCurrentEdit.displayTooltips ? 'fa-check-square-o' : 'fa-square-o'"></i>
&#160;
<span data-translate="">toggleTooltips</span>
</a>
Expand Down

0 comments on commit ff43bdb

Please sign in to comment.