{% extends "admin/layout.html" %} {% block title %}{{ _("Inspect Import") }}{% endblock %} {% block contents %}

{{ _("Inspect Import") }}

{% trans %} Here you can now inspect the imported data and select the data you want to import into the database. {% endtrans %}

{% call form() %}

{{ _("Blog Details") }}

{{ form.title.as_dd() }} {{ form.description.as_dd() }} {% if blog.configuration %} {{ form.load_config.as_dd() }} {% endif %}
{{ _('Dump ID') }}
{{ dump_id }}
{{ _('If you have a special installation and want to ' 'rewrite the import programmatically you need this ' 'identifier.') }}

{{ _("Authors") }}

{% trans %} Choose the authors whose posts you want to import. In the dropdown you can select one of the already existing users if you want to change the author during importing. In the default settings a new and inactive user without a password is created. {% endtrans %}

{% trans %} Authors are only converted if at least one of their posts is coverted. So if you unselect all the posts by a user in the list below it doesn't matter what you select here. {% endtrans %}

{{ _("Posts") }}

{% trans %} Posts marked with a blue background are already imported. {% endtrans %}

{%- for post in blog.posts %} {%- if post.already_imported %} {%- else %} {% endif %} {%- endfor %}
{{ _("Date") }} {{ _("Title") }} {{ _("Author") }} {{ _("Comments") }}
{{ post.pub_date|datetimeformat|e }} {{ post.title|e }} {{ post.author.username|e }} {{ post.comments|count }}
{{ post.pub_date|datetimeformat|e if post.pub_date else _('unpublished') }} {{ form.posts[post.id].with_help_text() }} {{ post.author.username|e }} {{ form.comments[post.id]() }}
{% endcall %} {% endblock %}