{% extends "base.html" %} {% import "_icons.html" as icons with context %} {% block content %}

{{ t('site.drafts') }}

{% if total %}

{{ t('drafts.count', n=total) }}{% if review_count %} {{ t('drafts.to_review', n=review_count) }}{% endif %}

{% endif %}
{{ icons.icon('plus') }}{{ t('site.new') }}
{% if total %}
{{ t('drafts.how.title') }}
  1. {{ t('drafts.how.read') }}
  2. {{ t('drafts.how.check', count=rule_count) }}
  3. {{ t('drafts.how.judge') }}
  4. {{ t('drafts.how.review') }}
{% endif %}
{% if total %} {% endif %} {% if rows %}
{% for r in rows %} {% endfor %}
{{ t('jobs.document') }} {{ t('index.lang') }} {{ t('index.condition') }} {{ t('jobs.status') }} {{ t('drafts.col.checks') }} {{ t('drafts.col.review') }} {{ t('jobs.created') }} {{ t('drafts.col.actions') }}
{{ r.title }}{% if r.job.config.mode == 'decision' %}{{ t('drafts.decision') }}{% endif %} {% if r.source_line %}{{ r.source_line }}{% endif %} {{ r.language }}{% if r.job.config.level %} · {{ r.job.config.level }}{% endif %} {{ t.get('condition.short.' ~ r.job.config.condition, r.job.config.condition) }} {{ t('status.' ~ r.job.status) }} {% if r.status_note %}{{ r.status_note }}{% endif %} {% if r.has_checks %} {{ icons.sev('error' if r.errors else 'none', t('count.errors', n=r.errors)) }} {{ icons.sev('warn', t('count.warnings', n=r.warnings)) }} {% if r.facts_total %}{{ t('drafts.facts', present=r.facts_present, total=r.facts_total) }}{% endif %} {% else %}{{ t('drafts.not_yet') }}{% endif %} {% if r.blocks %} {{ t('drafts.reviewed_complete' if r.complete else 'drafts.reviewed', decided=r.decided, total=r.blocks) }} {% else %}{{ t('drafts.not_yet') }}{% endif %}
{% if matching > rows | length or filtered %}{{ t('drafts.shown', shown=rows | length, total=total) }}{% else %}{{ t('drafts.count', n=total) }}{% endif %} {{ t('drafts.newest_first') }}
{% elif total %}

{{ t('drafts.no_match') }}

{% else %}

{{ t('drafts.empty.title') }}

{{ t('site.tagline') }}

{{ t('drafts.empty.text') }}

{% for e in examples %}{{ e.title }}{% endfor %} {{ icons.icon('plus') }}{{ t('site.new') }}
{% endif %}

Leicht·Facile {{ version }}. {{ t('site.footer') }}

{% endblock %}