diff --git a/assets/css/gokoala.css b/assets/css/gokoala.css index bacfea1b..7218bb35 100644 --- a/assets/css/gokoala.css +++ b/assets/css/gokoala.css @@ -38,14 +38,19 @@ footer { background-color: var(--bs-blue); } +/* tables */ .table-sm td p { margin: 0; + padding: 0; +} +.table-sm>:not(caption)>*>* { + padding: 0.10rem; } +/* toggles */ .toggle-content { display: none; } - .toggle-content.is-visible { display: table-row; } diff --git a/engine/config.go b/engine/config.go index 54e47b7f..1b4867d3 100644 --- a/engine/config.go +++ b/engine/config.go @@ -56,6 +56,7 @@ type Config struct { Thumbnail *string `yaml:"thumbnail"` Keywords []string `yaml:"keywords"` LastUpdated *string `yaml:"lastUpdated"` + LastUpdatedBy string `yaml:"lastUpdatedBy"` License License `yaml:"license" validate:"required"` Support *string `yaml:"support"` DatasetDetails []DatasetDetail `yaml:"datasetDetails"` @@ -141,12 +142,13 @@ type GeoSpatialCollection struct { } type GeoSpatialCollectionMetadata struct { - Title *string `yaml:"title"` - Description *string `yaml:"description"` - Thumbnail *string `yaml:"thumbnail"` - Keywords []string `yaml:"keywords"` - LastUpdated *string `yaml:"lastUpdated"` - Extent *Extent `yaml:"extent"` + Title *string `yaml:"title"` + Description *string `yaml:"description"` + Thumbnail *string `yaml:"thumbnail"` + Keywords []string `yaml:"keywords"` + LastUpdated *string `yaml:"lastUpdated"` + LastUpdatedBy string `yaml:"lastUpdatedBy"` + Extent *Extent `yaml:"extent"` } type CollectionEntry3dGeoVolumes struct { diff --git a/ogc/common/core/templates/api.go.html b/ogc/common/core/templates/api.go.html index 622c123e..d07838c4 100644 --- a/ogc/common/core/templates/api.go.html +++ b/ogc/common/core/templates/api.go.html @@ -6,10 +6,10 @@

{{ .Config.Title }} - API specificatie

{{ markdown .Config.Abstract }} - +
-
+ Licentie diff --git a/ogc/common/core/templates/landing-page.go.html b/ogc/common/core/templates/landing-page.go.html index b60921d2..288f73d7 100644 --- a/ogc/common/core/templates/landing-page.go.html +++ b/ogc/common/core/templates/landing-page.go.html @@ -10,7 +10,8 @@

{{ .Config.Title }}

{{ end }} {{ markdown .Config.Abstract }} - +
+ {{ if .Config.Keywords }} diff --git a/ogc/common/geospatial/templates/collections.go.html b/ogc/common/geospatial/templates/collections.go.html index 911dcd5e..7e16293e 100644 --- a/ogc/common/geospatial/templates/collections.go.html +++ b/ogc/common/geospatial/templates/collections.go.html @@ -34,12 +34,22 @@
{{/*
  • Schema: TODO link to collection schema
  • */}} {{ if and $coll.Metadata $coll.Metadata.LastUpdated }}
  • + {{ if and $coll.Metadata $coll.Metadata.LastUpdatedBy }} + Bijgewerkt door {{ $coll.Metadata.LastUpdatedBy }} op: + {{ else if $cfg.LastUpdatedBy }} + Bijgewerkt door {{ $cfg.LastUpdatedBy }} op: + {{ else }} Bijgewerkt op: + {{ end }} {{ toDate "2006-01-02T15:04:05Z07:00" $coll.Metadata.LastUpdated | date "2006-01-02" }}
  • {{ else if $cfg.LastUpdated }} -
  • +
  • }} + {{ if $cfg.LastUpdatedBy }} + Bijgewerkt door {{ $cfg.LastUpdatedBy }} op: + {{ else }} Bijgewerkt op: + {{ end }} {{ toDate "2006-01-02T15:04:05Z07:00" $cfg.LastUpdated | date "2006-01-02" }}
  • {{ end }}
    Dataset details