{% if metric == 'no-reply' %}
Dataset comments with no reply > {{ comment_no_reply_max_days|string }} days
{% elif metric == 'de_identified_datasets_no_schema' %}
Setting default data schemas for datasets minimises risks of accidental release of personal information by checking that the data structure and content type of new or edited resources matches a predetermined data schema. For example, where de-identification has not occurred through deletion of certain columns
{% endif %}
{% if datasets|length > 0 %}
{% if metric == 'no-reply' %}
Total number of un-replied comments: {{ total_comments }}
{% endif %}
Total number of datasets: {{ datasets|length }}
{% for dataset in datasets %}
{% if metric == 'no-reply' %}
{% set package_id = dataset.package_name %}
{% set package_url_suffix = '/comments?comment_ids=' + comment_ids[package_id]|join(',') + '#comment_' + dataset.comment_id %}
{% else %}
{% set package_id = dataset.name %}
{% set package_url_suffix = '' %}
{% endif %}
{% set package_url = h.url_for('dataset.read', id=package_id) %}
{{ dataset.title }}