From 25f8a3e7834867a6ebd4f565d8c2593d585257fe Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Wed, 14 Jun 2023 16:18:27 +0200 Subject: change lazyload library to work with iOS --- client/templates/client/index.html | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'client') diff --git a/client/templates/client/index.html b/client/templates/client/index.html index 96bd23b..ce71127 100644 --- a/client/templates/client/index.html +++ b/client/templates/client/index.html @@ -366,7 +366,11 @@
- {% if doc.signed_doc %} {% endif %} + {% if doc.signed_doc %} + + {% else %} +

Foto della conferma firmata non caricata

+ {% endif %}
@@ -376,7 +380,11 @@
- {% if doc.medical_data.health_care_certificate %}{% endif %} + {% if doc.medical_data.health_care_certificate %} + + {% else %} +

Foto della tessera della cassa malati non caricata

+ {% endif %}
@@ -385,7 +393,11 @@
- {% if doc.medical_data.vac_certificate %}{% endif %} + {% if doc.medical_data.vac_certificate %} + + {% else %} +

Foto del certificato di vacinazione non caricato

+ {% endif %}
@@ -444,7 +456,9 @@ $(document).ready(function(){ $('#modal_approve'+docid).modal('open'); } {% endif %} - lazyload(); + var lazyLoadInstance = new LazyLoad({ + // Your custom settings go here + }); }); {% if user.is_staff or perms.client.approved %} $('*').click(function(event) { -- cgit v1.2.1