From 856ad4734e168c1b56f349244acd0cc14fcd8d78 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Thu, 10 Dec 2020 14:01:22 +0100 Subject: lazyload images --- server/templates/server/doc_list.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'server/templates') diff --git a/server/templates/server/doc_list.html b/server/templates/server/doc_list.html index 2499245..f98cbd5 100644 --- a/server/templates/server/doc_list.html +++ b/server/templates/server/doc_list.html @@ -160,6 +160,9 @@ {% elif doc.0.status == "autosign" %} assignment_turned_in {% endif %} + {% if settings.DEBUG %} + {{doc.0.id}}: + {% endif %} {{doc.0.document_type.name}} {{doc.0.user.first_name}} {{doc.0.user.last_name}} @@ -416,7 +419,7 @@
- {% if doc.5 %}{% endif %} + {% if doc.5 %}{% endif %}
@@ -425,7 +428,7 @@
- {% if doc.6 %}{% endif %} + {% if doc.6 %}{% endif %}
@@ -434,7 +437,7 @@
- {% if doc.7 %}{% endif %} + {% if doc.7 %}{% endif %}
@@ -465,6 +468,7 @@ $(document).ready(function(){ update(); document.getElementById('progress_bar').className = "determinate"; {% endif %} + lazyload(); }); function resetModal() { -- cgit v1.2.1