1 {% extends "catalogue/base.html" %}
5 {% block titleextra %}{% trans "Bulk document upload" %}{% endblock %}
11 <h2>{% trans "Bulk documents upload" %}</h2>
14 {% trans "Please submit a ZIP with UTF-8 encoded XML files. Files not ending with <code>.xml</code> will be ignored." %}
17 <form enctype="multipart/form-data" method="POST" action="{{ request.path }}">
20 <p><button type="submit">{% trans "Upload" %}</button></p>
27 <p class='error'>{% trans "There have been some errors. No files have been added to the repository." %}
28 <h3>{% trans "Offending files" %}</h3>
30 {% for filename, title, error in error_list %}
31 <li>{{ title }} (<code>{{ filename }}</code>): {{ error }}</li>
36 <h3>{% trans "Correct files" %}</h3>
38 {% for filename, slug, title in ok_list %}
39 <li>{{ title }} (<code>{{ filename }}</code>)</li>
47 <p class='success'>{% trans "Files have been successfully uploaded to the repository." %}</p>
48 <h3>{% trans "Uploaded files" %}</h3>
50 {% for filename, slug, title in ok_list %}
51 <li><a href='{% url "wiki_editor" slug %}'>{{ title }}</a> (<code>{{ filename }})</a></li>
58 <h3>{% trans "Skipped files" %}</h3>
59 <p>{% trans "Files skipped due to no <code>.xml</code> extension" %}</p>
60 <ul id='skipped-list'>
61 {% for filename in skipped_list %}
62 <li>{{ filename }}</li>
68 {% endblock leftcolumn %}
71 {% block rightcolumn %}
72 {% endblock rightcolumn %}