{% extends 'core/page.html' %} {% load i18n %} {% load core_tags %} {% block content %}
{% csrf_token %}
{% if not current_project %}

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

{% if source_project %}
{% trans 'Title' %}{{ source_project.title }}
{% trans 'Description' %}{{ source_project.description }}
{% trans 'Catalog' %}{{ source_project.catalog.title }}
{% trans 'Created' %}{{ source_project.created }}
{% endif %} {% else %}

{% blocktrans %}Import from {{ source_title }}{% endblocktrans %}

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

{% trans 'Snapshot' %}: {{ snapshot.title }}

{% trans 'Title' %}{{ snapshot.title }}
{% trans 'Description' %}{{ snapshot.description }}
{% trans 'Created' %}{{ snapshot.created }}
{% if snapshot.snapshot_values %} {% if current_project %} {% endif %} {% for value in snapshot.snapshot_values %} {% if current_project %} {% else %} {% endif %} {% endfor %}
Question{% trans 'Current answer' %}{% trans 'Imported answer' %}
{% if value.question %} {{ value.question.text }} {% elif value.attribute.key == 'id' %} {% trans 'Title of a set.' %} {% else %} {% trans 'Not available in this catalog.' %} {% endif %} {{ value.current.value_and_unit }} {% firstof value.value_and_unit value.file_import.name %}{% firstof value.value_and_unit value.file_import.name %} {% if value.attribute.uri %} {% else %} {% endif %}
{% endif %} {% endfor %} {% endif %}
{% endblock %}