{% extends "_layout.html" %} {% from "_value.html" import show %} {% block content %}

{{ title }}

{% if description %}

{{ description }}

{% endif %} {% if stac_version %}
{{ _("STAC version") }}
{{ stac_version }}
{% endif %}
{% include "_map.html" %}
{% if children.rows or entries.rows or properties or assets %}
{% for heading, found in ((_("Catalogs"), children), (_("Items"), entries)) %}{% if found.rows %}

{{ heading }}

{% for column in found.columns %}{% endfor %} {% for row in found.rows %}{% for column in found.columns %}{% endfor %} {% endfor %}
{{ _("Name") }}{{ column.label }}
{{ row.title }}{% if column.key == "created" %}{{ row.created | instant }}{% elif column.key == "size" %}{{ row.size | number }}{% else %}{{ row[column.key] }}{% endif %}
{% endif %}{% endfor %} {% if properties %}

{{ _("Properties") }}

{% for row in properties %} {% endfor %}
{{ _("Property") }}{{ _("Value") }}
{{ row.name }}{{ show(row.value) }}
{% endif %} {% if assets %}

{{ _("Assets") }}

{% for asset in assets %} {% endfor %}
{{ _("Name") }}{{ _("Type") }}{{ _("Last modified") }}{{ _("Size") }}
{{ asset.name }}{{ asset.type }}{{ asset.created | instant }}{{ asset.size | number }}
{% endif %}
{% endif %} {% endblock %}