{#- Shared list of datasets linked to a registry record. ``data`` is {"rows": [{"name", "title", "organization", "private", "modified"}], "total": n} from views._linked_datasets; when there are more datasets than rows, a "Show all" link is offered. Import with context: {% import '...dataset_list.html' as dl with context %} -#} {% macro dataset_rows(rows) -%}
{% if dataset.organization %}{{ dataset.organization }}{% endif %}{% if dataset.organization and dataset.modified %} ยท {% endif %}{% if dataset.modified %}{{ _('Updated {date}').format(date=h.render_datetime(dataset.modified)) }}{% endif %}
{{ _('Show all {n}').format(n=data.total) }}
{% endif %} {% else %}{{ empty_text }}
{% endif %} {%- endmacro %}