{% extends "admin/base.html" %} {% block primary_content_inner %} {% set c = report.counts %} {% set mode_names = {'dry-run': _('dry run'), 'apply': _('apply')} %} {% set status_names = {'replaced': _('replaced'), 'already_present': _('already present'), 'not_found': _('not found'), 'ambiguous': _('ambiguous'), 'error': _('error')} %}
← {{ _('Deprecated API migration') }}
{{ _('By %(user)s', user=report.user) }} · {{ c.datasets }} {{ _('datasets') }}, {{ c.replaced }} {{ _('replaced') }}, {{ c.already_present or 0 }} {{ _('already present (left unchanged)') }}, {{ c.not_found }} {{ _('not found') }}, {{ c.ambiguous }} {{ _('ambiguous') }}, {{ c.error }} {{ _('errors') }}; {{ c.patched }} {{ _('patched') }}, {{ c.failed }} {{ _('failed') }} · JSON
{{ _('Show') }}: {{ _('all') }} · {% for status in ['replaced', 'already_present', 'not_found', 'ambiguous', 'error'] %} {{ status_names[status] }}{% if not loop.last %} ·{% endif %} {% endfor %}
{{ _('Choose replacement terms') }}
| {{ _('Dataset') }} | {{ _('Status') }} | {{ _('Stored term') }} | {{ _('New term / proposals') }} |
|---|---|---|---|
| {{ row.dataset }}
{% if row.status in ('not_found', 'ambiguous', 'error') %}
{{ _('Edit') }} {% if row.fields %}· {{ row.fields|join(', ') }}{% endif %} {% endif %} {% if row.error %} {{ row.error }}{% endif %} |
{{ status_names.get(row.status, row.status) }}{% if row.chosen %} ({{ _('chosen') }}){% endif %}{% if row.patched %} ({{ _('patched') }}){% endif %} | {{ row.old.subject }} {{ row.old.valueURI }} |
{% if row.new and row.new.subject %}{% if row.stripped %}{{ _('kept as plain text, scheme and URI removed') }}{% else %}{{ row.new.subject }} {{ row.new.valueURI }}{% endif %}
{% elif row.candidates %}
{% if row.status != 'error' %}{{ _('Closest terms in the new source, to choose by hand:') }}{% endif %}
|
| {{ _('Nothing to show.') }} | |||