From 510875027e8483ce2916e7cf315fb6a7f6105807 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Wed, 17 Jul 2024 10:13:17 -0400 Subject: [PATCH] EDR: add HTML table of parameters for collections with EDR support (#1733) (#1736) --- .../templates/collections/collection.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pygeoapi/templates/collections/collection.html b/pygeoapi/templates/collections/collection.html index 5edccc97f..65bac7b33 100644 --- a/pygeoapi/templates/collections/collection.html +++ b/pygeoapi/templates/collections/collection.html @@ -85,6 +85,25 @@

{% trans %}Tiles{% endtrans %}

{% endif %} {% endfor %} {% endif %} + + {% if 'parameter_names' in data %} +

Parameters

+ + + + + + + {% for parameter in data['parameter_names'].values() %} + + + + + + {% endfor %} +
idnameunits
{{ parameter['id'] }}{{ parameter['name'] }}{{ parameter['unit']['symbol']['value'] }}
+ {% endif %} +

{% trans %}Links{% endtrans %}