Skip to content

Commit

Permalink
Fix html <i> elements defined in javascript with wrong self-closing. (#…
Browse files Browse the repository at this point in the history
…8164)

Includes also prettier formatting fixes for other files
  • Loading branch information
josegar74 committed Jun 7, 2024
1 parent 0dec1ad commit d35cf9c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
<li href="" class="list-group-item" data-ng-repeat="crs in crsResults">
{{crs.description}}
<span class="pull-right">
<a
href=""
data-ng-click="addCRS(crs)"
title="{{'addCRS-help' | translate}}"
>
<a href="" data-ng-click="addCRS(crs)" title="{{'addCRS-help' | translate}}">
<i class="fa fa-fw fa-plus"></i>
</a>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,10 @@
version: getInputValue("version"),
tab: getInputValue("currTab"),
geoPublisherConfig: angular.fromJson(getInputValue("geoPublisherConfig")),
resourceContainerDescription: getInputValue("resourceContainerDescription") ==''? null : angular.fromJson(
getInputValue("resourceContainerDescription")
),
resourceContainerDescription:
getInputValue("resourceContainerDescription") == ""
? null
: angular.fromJson(getInputValue("resourceContainerDescription")),
resourceManagementExternalProperties: angular.fromJson(
getInputValue("resourceManagementExternalProperties")
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@
var conceptIdElement = angular.element(
'<div class="well well-sm gn-keyword-picker-concept-id row">' +
' <div class="form-group">' +
' <label class="col-sm-4"><i class="fa fa-link fa-fw"/><span data-translate>URL</span></label>' +
' <label class="col-sm-4"><i class="fa fa-link fa-fw"></i><span data-translate>URL</span></label>' +
' <div class="col-sm-6"><input ' +
inputPropertyName +
'="' +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@
' href=""' +
' title="{{::title | translate}}">' +
' <i class="fa fa-fw" ' +
" ng-class=\"{'fa-copy': !copied, 'fa-check': copied}\"/>" +
" ng-class=\"{'fa-copy': !copied, 'fa-check': copied}\"></i>" +
"</a>",
scope: {
btnClass: "@",
Expand Down Expand Up @@ -2533,7 +2533,7 @@
'">' +
'<div class="modal-dialog gn-img-modal in">' +
' <button type=button class="btn btn-danger gn-btn-modal-img">' +
'<i class="fa fa-times"/></button>' +
'<i class="fa fa-times"></i></button>' +
' <img src="' +
(attr.ngSrc || img.lUrl || img.url || img.id) +
'"/>' +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
"</span>" +
" </a>" +
' <div class="alert alert-danger small" style="display: none" role="alert"></div>' +
' <i class="fa fa-spinner fa-spin"/>' +
' <i class="fa fa-spinner fa-spin"></i>' +
"</div>" +
"<code>" +
row.mdUuid +
Expand Down
2 changes: 1 addition & 1 deletion web-ui/src/main/resources/catalog/views/default/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@
if (config.length === 0) {
return;
}

config.forEach(function (c) {
gnWebAnalyticsService.trackLink(c.url, c.type);
});
Expand Down

0 comments on commit d35cf9c

Please sign in to comment.