{% extends 'core/page.html' %} {% load i18n %} {% load core_tags %} {% block content %}
{% if create %}
{% else %} {% endif %} {% csrf_token %}
{% if create %}

{% blocktrans %}Create project from {{ file_name }}{% endblocktrans %}

{% trans 'Title' %}{{ project.title }}
{% trans 'Description' %}{{ project.description }}
{% trans 'Catalog' %}{{ project.catalog.title }}
{% trans 'Created' %}{{ project.created }}
{% else %}

{% blocktrans %}Import from {{ file_name }}{% endblocktrans %}

{% endif %} {% if values %}

{% trans 'Answers' %}

{% if not create %} {% endif %} {% for row in values %} {% if create %} {% else %} {% endif %} {% endfor %}
{% trans 'Question' %}{% trans 'Current answer' %}{% trans 'Imported answer' %}
{% if row.question %} {{ row.question.text }} {% elif row.value.attribute.key == 'id' %} {% trans 'Title of a set.' %} {% else %} {% trans 'Not available in this catalog.' %} {% endif %} {{ row.value.value_and_unit }}{{ row.current.value_and_unit }} {{ row.value.value_and_unit }} {% if row.value.attribute.uri %} {% else %} {% endif %}
{% endif %} {% if snapshots %}

{% trans 'Snapshots' %}

{% for snapshot in snapshots %}

{% trans 'Snapshot information' %}

{% trans 'Title' %}{{ snapshot.snapshot.title }}
{% trans 'Description' %}{{ snapshot.snapshot.description }}
{% trans 'Created' %}{{ snapshot.snapshot.created }}
{% if snapshot.values %}

{% trans 'Snapshot answers' %}

{% if not create %} {% endif %} {% for row in snapshot.values %} {% if create %} {% else %} {% endif %} {% endfor %}
Question{% trans 'Current answer' %}{% trans 'Imported answer' %}
{% if row.question %} {{ row.question.text }} {% elif row.value.attribute.key == 'id' %} {% trans 'Title of a set.' %} {% else %} {% trans 'Not available in this catalog.' %} {% endif %} {{ row.value.value_and_unit }}{{ row.current.value_and_unit }} {{ row.value.value_and_unit }} {% if row.value.attribute.uri %} {% else %} {% endif %}
{% endif %} {% endfor %} {% endif %}
{% endblock %}