diff --git a/assets/i18n/en.yaml b/assets/i18n/en.yaml index 8bb48953..a653519f 100644 --- a/assets/i18n/en.yaml +++ b/assets/i18n/en.yaml @@ -105,3 +105,6 @@ Next: Next Items: items ReferenceDate: Date Size: size +ApplyFilters: Apply filters +ResetFilter: Reset filter +BrowseSuffix: or go straight to the features in diff --git a/assets/i18n/nl.yaml b/assets/i18n/nl.yaml index 2b08cff8..f07b9b3f 100644 --- a/assets/i18n/nl.yaml +++ b/assets/i18n/nl.yaml @@ -107,3 +107,6 @@ Next: Volgende Items: items ReferenceDate: Peildatum Size: omvang +ApplyFilters: Filters toepassen +ResetFilter: Filters wissen +BrowseSuffix: of ga direct naar de features in \ No newline at end of file diff --git a/go.mod b/go.mod index 40ceb3d4..6c7430f6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/PDOK/gokoala -go 1.22.4 +go 1.22.5 require ( dario.cat/mergo v1.0.0 diff --git a/hack/crd/go.mod b/hack/crd/go.mod index 2384c315..5a51f04b 100644 --- a/hack/crd/go.mod +++ b/hack/crd/go.mod @@ -1,6 +1,6 @@ module crd -go 1.22.4 +go 1.22.5 require ( github.com/PDOK/gokoala v0.0.0 diff --git a/internal/engine/testdata/expected_multiple_ogc_apis_single_collection.html b/internal/engine/testdata/expected_multiple_ogc_apis_single_collection.html index d592a4f6..b8515d0d 100644 --- a/internal/engine/testdata/expected_multiple_ogc_apis_single_collection.html +++ b/internal/engine/testdata/expected_multiple_ogc_apis_single_collection.html @@ -1,14 +1,42 @@ -
+Blader door de Features of ga direct naar de features in: +
+
+ {{ i18n "Keywords" }}: + | ++ {{ .Params.Metadata.Keywords | join ", " }} + | +
+ {{ i18n "LastUpdated" }}: + | ++ {{ toDate "2006-01-02T15:04:05Z07:00" .Params.Metadata.LastUpdated | date "2006-01-02" }} + | +
+ {{ i18n "GeographicExtent" }} + {{ if .Params.Metadata.Extent.Srs }} + ({{ .Params.Metadata.Extent.Srs }}): + {{ else }} + (CRS84): + {{ end }} + | ++ {{ .Params.Metadata.Extent.Bbox | join ", " }} + | +
+ {{ i18n "TemporalExtent" }} (ISO-8601): + | ++ {{ toDate "2006-01-02T15:04:05Z" ((first .Params.Metadata.Extent.Interval) | replace "\"" "") | date "2006-01-02" }} / + {{ if not (contains "null" (last .Params.Metadata.Extent.Interval)) }}{{ toDate "2006-01-02T15:04:05Z" ((last .Params.Metadata.Extent.Interval) | replace "\"" "") | date "2006-01-02" }}{{ else }}..{{ end }} + | +
+ TODO (placeholder) +
++ {{ i18n "Browse" }} Features {{ i18n "BrowseSuffix" }}: +
++