{% extends 'assets/base.html' %} {% load bob %} {% load i18n %} {% block content %} {% if wizard.steps.current == 'upload' %}
Upload an XLS or CSV file. The file should contain labels for fields as the first row.
If the first column's header is id, the update will be performed. Otherwise new licences/assets will be created.
{% endblocktrans %} {% endif %} {% if wizard.steps.current == 'column_choice' %}Match the names from XLS file with the desired fields. Leaving the value empty will cause the column value to be unused.
{% endblocktrans %} {% endif %} {% if wizard.steps.current == 'confirm' %}This data got extracted from provided file. Please make sure the data is OK. Submitting the data is irreversible.
{% endblocktrans %} {% if update_table %}{% trans "Asset id" %} | {% for name in all_column_names %}{{ name }} | {% endfor %} {% for row in update_table %}
---|
{{ col }} | {% endfor %}
{{ name }} | {% endfor %} {% for row in add_table %}
---|
{{ col }} | {% endfor %}