{% extends "base.html" %} {% import "macros.html" as m %} {% block title %}Documents - {{ pack.pack }}{% endblock %} {% block content %}

Documents

{% if tab == 'accepted' %}

Human-reviewed and approved for the demonstration scope.

{% for item in accepted %} {% else %}{% endfor %}
Source or documentRecorded statusReview
{% if item.document_id %}{{ m.document_link(pack.pack, item.document_id, item.document_id) }}
{% endif %} {{ item.url | shorten(90) }}
{{ item.status }} human-reviewed - approved {% if item.review %}
{{ item.review.reviewed_by }}, {{ item.review.reviewed_on }}
{% endif %}
None.
{% elif tab == 'unavailable' %} {% for item in unavailable %} {% else %}{% endfor %}
URLStatusErrorAttribution
{{ item.url | shorten(90) }}{{ item.status }} {{ item.error }} {{ item.attribution.kind }} {{ (item.attribution.source_ids or []) | join(', ') }}
None.
{% elif tab == 'errors' %} {% for item in errors %} {% else %}{% endfor %}
DocumentError
{{ item.get('document_id') or item.get('url') }} {{ item.get('error') }}
None.
{% else %}
{% for name, label in [('page_kind', 'Page kind'), ('status', 'Status'), ('attribution_kind', 'Attribution'), ('representation', 'Representation')] %}
{% endfor %}
Clear
{{ m.pager(listing, '/packs/' ~ pack.pack ~ '/documents?tab=records') }}
{% for row in listing.rows %} {% else %} {% endfor %}
TitleLangReprPage kindStatusEligible AttributionRetrievedBlocksChars MarksFacts
{{ m.document_link(pack.pack, row.document_id, row.title or row.source_url) }}
{{ row.source_url | shorten(80) }}
{{ row.language_declared or '-' }}/{{ row.language_hint or '-' }} {{ row.representation }} {{ row.page_kind }} {{ row.status }} {{ 'yes' if row.eligible_for_processing else 'no' }} {% if row.exclusions %}
{{ row.exclusions }}
{% endif %}
{{ row.attribution_kind }}
{{ row.sources | shorten(40) }}
{{ (row.retrieved_at or '')[:10] }} {{ row.blocks }} {{ row.text_characters }} {% if row.scope_review %}human-reviewed - approved for scope{% endif %} {% if row.superseded %}superseded diff{% endif %} {% if row.imported %}imported{% endif %} {% if row.preferred_representation %}preferred{% endif %} {% if row.identical_text_records %}{{ row.identical_text_records | length }} identical{% endif %} {{ row.facts }}
No record matches.
{% endif %} {% endblock %}