From b3f5000aceba9509ca4650bdcac4a71883a88d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Garc=C3=ADa?= Date: Tue, 1 Oct 2024 16:17:16 +0200 Subject: [PATCH] Javascript / HTML formatting fixes related to Prettier --- .../edit/onlinesrc/OnlineSrcService.js | 24 +++++------ .../edit/onlinesrc/partials/linkToMd.html | 3 +- .../viewer/gfi/partials/featurestables.html | 10 ++--- .../wfsfilter/partials/wfsfilterfacet.html | 43 ++++++++----------- .../catalog/templates/admin/settings/ui.html | 1 - .../templates/recordView/technical.html | 4 +- 6 files changed, 40 insertions(+), 45 deletions(-) diff --git a/web-ui/src/main/resources/catalog/components/edit/onlinesrc/OnlineSrcService.js b/web-ui/src/main/resources/catalog/components/edit/onlinesrc/OnlineSrcService.js index 94ee49c926..7755bcee53 100644 --- a/web-ui/src/main/resources/catalog/components/edit/onlinesrc/OnlineSrcService.js +++ b/web-ui/src/main/resources/catalog/components/edit/onlinesrc/OnlineSrcService.js @@ -265,9 +265,9 @@ linksAndRelatedPromises.push( $http.get( apiPrefix + - "/related?type=" + - relatedTypes.join("&type=") + - (!isApproved ? "&approved=false" : ""), + "/related?type=" + + relatedTypes.join("&type=") + + (!isApproved ? "&approved=false" : ""), { headers: { Accept: "application/json" @@ -281,9 +281,9 @@ linksAndRelatedPromises.push( $http.get( apiPrefix + - "/associated?type=" + - associatedTypes.join(",") + - (!isApproved ? "&approved=false" : ""), + "/associated?type=" + + associatedTypes.join(",") + + (!isApproved ? "&approved=false" : ""), { headers: { Accept: "application/json" @@ -610,8 +610,8 @@ scopedName: params.remote ? "" : params.name === qParams.name - ? "" - : qParams.name, + ? "" + : qParams.name, uuidref: qParams.uuidDS, uuid: qParams.uuidSrv, url: qParams.remote ? qParams.url : "", @@ -934,10 +934,10 @@ search: function (url, prefix, query) { return $http.get( url + - "?prefix=" + - prefix + - "&query=" + - query.replaceAll("https://doi.org/", "") + "?prefix=" + + prefix + + "&query=" + + query.replaceAll("https://doi.org/", "") ); } }; diff --git a/web-ui/src/main/resources/catalog/components/edit/onlinesrc/partials/linkToMd.html b/web-ui/src/main/resources/catalog/components/edit/onlinesrc/partials/linkToMd.html index 698421f176..71bd10acda 100644 --- a/web-ui/src/main/resources/catalog/components/edit/onlinesrc/partials/linkToMd.html +++ b/web-ui/src/main/resources/catalog/components/edit/onlinesrc/partials/linkToMd.html @@ -62,7 +62,8 @@ ng-disabled="!canEnableLinkButton(selectRecords)" > -   {{btn.label || ('saveLinkToSibling' | translate)}} +   {{btn.label || ('saveLinkToSibling' | + translate)}}
diff --git a/web-ui/src/main/resources/catalog/components/viewer/gfi/partials/featurestables.html b/web-ui/src/main/resources/catalog/components/viewer/gfi/partials/featurestables.html index 59a2726ae3..c5643c6959 100644 --- a/web-ui/src/main/resources/catalog/components/viewer/gfi/partials/featurestables.html +++ b/web-ui/src/main/resources/catalog/components/viewer/gfi/partials/featurestables.html @@ -63,11 +63,11 @@ data-ng-show="ctrl.currentTable == table" ng-repeat="table in ctrl.tables" > - -

- {{table.name}} -

- + +

+ {{table.name}} +

+ -

+

{{count | number}} / {{countTotal | number}} features + >features

- - - - +
-