diff --git a/ram/portal/templates/bookshelf/book.html b/ram/portal/templates/bookshelf/book.html index a67fd08..4e14488 100644 --- a/ram/portal/templates/bookshelf/book.html +++ b/ram/portal/templates/bookshelf/book.html @@ -216,22 +216,7 @@
diff --git a/ram/portal/templates/includes/documents.html b/ram/portal/templates/includes/documents.html new file mode 100644 index 0000000..755e88f --- /dev/null +++ b/ram/portal/templates/includes/documents.html @@ -0,0 +1,26 @@ + {% if documents %} + + + + + + + + {% for d in documents.all %} + + + + + + {% endfor %} + +
{{ header|default:"Documents" }}
{{ d.description }} + {% if d.private %} + + {% else %} + + {% endif %} + {{ d.filename }} + {{ d.file.size | filesizeformat }}
+ {% endif %} + diff --git a/ram/portal/templates/rollingstock.html b/ram/portal/templates/rollingstock.html index 6cb0eef..65e5654 100644 --- a/ram/portal/templates/rollingstock.html +++ b/ram/portal/templates/rollingstock.html @@ -403,42 +403,8 @@