{% extends "base.html" %} {% load i18n %} {% block extrahead %} {% endblock %} {% block content %} {% if backup_request %}
{% if backup_request.error_message %} {% endif %} {% if backup_request.is_done %} {% endif %} {% if backup_request.error_message %} {% endif %} {% if backup_request.is_done %} {% endif %}
{% trans "Operation" %} {% trans "Creation date" %} {% trans "State" %} {% trans "Since" %}{% trans "Error" %}{% trans "Backup file" %}
{% trans "Backup" %} {{ backup_request.creation_datetime }} {{ backup_request.get_state_display }} {{ backup_request.last_state_datetime }}{{ backup_request.error_message %}{{ backup_request.get_backup_filename }}
{% else %}
{% trans "No backup actions" %}

{% endif %} {% if not action_pending %}
{% trans "You can make a backup to load your data in another instance of Aemanager, use data in an other software or just keep your data not only on our server." %}
{% csrf_token %} {% with backup_form as form %} {% include "form.html" %} {% endwith %}
{% endif %}

{% trans "Restore" %}

{% if restore_request %}
{% if restore_request.error_message %} {% endif %} {% if restore_request.error_message %} {% endif %}
{% trans "Operation" %} {% trans "Creation date" %} {% trans "State" %} {% trans "Since" %} {% trans "Action" %}{% trans "Error" %}
{% trans "Restore" %} {{ restore_request.creation_datetime }} {{ restore_request.get_state_display }} {{ restore_request.last_state_datetime }} {{ restore_request.get_action_display }}{{ restore_request.error_message }}
{% else %}
{% trans "No restore actions" %}

{% endif %} {% if cant_restore %}
{% trans "You can't restore a backup during trial period. You have to subscribe to do this action" %}
{% else %} {% if not action_pending %}
{% trans "You can restore a backup." %}
{% csrf_token %}
{% with restore_form as form %} {% include "form.html" %} {% endwith %}
{% endif %} {% endif %}

{% trans "CSV export" %}

{% trans "You may download your invoices in CSV format for further treatments. CSV files are not backups and you won't be able to restore them." %}
{% csrf_token %}
{% with csv_form as form %} {% include "form.html" %} {% endwith %}
{% endblock %}