{% extends shell('app') %} {% block title %}{{ _('Curation') }}{% endblock %} {% block content %}

{{ _('Curation') }}

{{ _('What waits for a curator: the datasets sent to be published by accounts the hub does not trust yet, and the withdrawals their owners ask for. Each decision is mailed to the owner.') }}

{% include "curation/admin/_flashes.html" %}

{{ _('Waiting') }} {{ pending | length }}

{% for item in pending %} {% else %} {% endfor %}
{{ _('Request') }} {{ _('Dataset') }} {{ _('Asked by') }} {{ _('Since') }}
{{ _(item.kind_label()) }} {% if item.reason %}
{{ item.reason }}
{% endif %}
{% with dataset = item.dataset %}{% include "curation/admin/_dataset_link.html" %}{% endwith %} {{ item.requested_by.email if item.requested_by else '—' }} {{ item.requested_at | time_tag(with_time=True) }} {{ _('Review') }}
{{ _('Nothing waits for review.') }}

{{ _('Latest decisions') }}

{% for item in history %} {% else %} {% endfor %}
{{ _(item.kind_label()) }} {% with dataset = item.dataset %}{% include "curation/admin/_dataset_link.html" %}{% endwith %} {{ _(item.status_label()) }} {{ item.decided_by.email if item.decided_by else '—' }} {{ item.decided_at | time_tag(with_time=True) }} {{ item.decision_note or '' }}
{{ _('No decisions yet.') }}
{% endblock %}