{% if metric == 'no-reply' %}
Datarequest comments with no reply > {{ comment_no_reply_max_days|string }} days
{% elif metric == 'no-comments' %}
Open data requests with no comment > {{ comment_no_reply_max_days|string }} days
{% elif metric == 'closed' %}
Closed data requests - To be released as open data at a later date
{% elif metric == 'open-max-days' %}
Open data requests > {{ datarequest_open_max_days|string }} days
{% endif %}
{% if metric == 'no-reply' %}
Total number of un-replied comments: {{ total_comments }}
Total number of datarequests: {{ datarequests|length }}
{% endif %}
{% if datarequests and datarequests|length > 0 %}
Opened: {{ h.render_datetime(datarequest.open_time, None, True) }}
— {{ h.time_ago_from_timestamp(datarequest.open_time) }}
{% if metric in ['closed'] %}
Closed: {{ h.render_datetime(datarequest.close_time, None, True) }}
Close circumstance: {{ datarequest.close_circumstance }}
{% endif %}
{% if circumstance in ['To be released as open data at a later date'] %}
Approximate publishing date: {{ h.render_datetime(datarequest.approx_publishing_date, None, True) }}
{% endif %}