1 {% extends "catalogue/base.html" %}
8 <h2>{% trans "Bulk documents upload" %}</h2>
11 {% trans "Please submit a ZIP with UTF-8 encoded XML files. Files not ending with <code>.xml</code> will be ignored." %}
14 <form enctype="multipart/form-data" method="POST" action="">
17 <p><button type="submit">{% trans "Upload" %}</button></p>
24 <p class='error'>{% trans "There have been some errors. No files have been added to the repository." %}
25 <h3>{% trans "Offending files" %}</h3>
27 {% for filename, title, error in error_list %}
28 <li>{{ title }} (<code>{{ filename }}</code>): {{ error }}</li>
33 <h3>{% trans "Correct files" %}</h3>
35 {% for filename, slug, title in ok_list %}
36 <li>{{ title }} (<code>{{ filename }}</code>)</li>
44 <p class='success'>{% trans "Files have been successfully uploaded to the repository." %}</p>
45 <h3>{% trans "Uploaded files" %}</h3>
47 {% for filename, slug, title in ok_list %}
48 <li><a href='{% url "wiki_editor" slug %}'>{{ title }}</a> (<code>{{ filename }})</a></li>
55 <h3>{% trans "Skipped files" %}</h3>
56 <p>{% trans "Files skipped due to no <code>.xml</code> extension" %}</p>
57 <ul id='skipped-list'>
58 {% for filename in skipped_list %}
59 <li>{{ filename }}</li>
65 {% endblock leftcolumn %}
68 {% block rightcolumn %}
69 {% endblock rightcolumn %}