Reorganize code.
[audio.git] / src / archive / templates / archive / list_new.html
diff --git a/src/archive/templates/archive/list_new.html b/src/archive/templates/archive/list_new.html
new file mode 100644 (file)
index 0000000..fabf446
--- /dev/null
@@ -0,0 +1,22 @@
+{% extends "archive/list.html" %}
+{% load i18n %}
+
+
+{% block file-list-title %}
+    {% trans "New audiobooks" %}
+{% endblock %}
+
+
+{% block file-list-info %}
+    {% trans "Put source audiobooks in:" %}
+    <span>{{ path }}</span>
+{% endblock %}
+
+
+{% block file-list %}
+    {% for file in objects %}
+        <li>
+            <a href='{% url "file_new" file|urlencode %}'>{{ file }}</a>
+        </li>
+    {% endfor %}
+{% endblock %}