From 810e058c07adc9ed39c6c63094ed5d9e3ec1b3b6 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 17 Jul 2022 15:00:37 +0300 Subject: [PATCH] new complaints messages for wallet --- templates/scanuploadform.html | 42 +++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/templates/scanuploadform.html b/templates/scanuploadform.html index 68e6f98..71b30c6 100644 --- a/templates/scanuploadform.html +++ b/templates/scanuploadform.html @@ -4,7 +4,12 @@ {% block content %} -

Upload scan into wallet {{wallet}}

+{% if user.username %} +

Wallet {{wallet}} - edit settings or upload a file

+{% else %} +

Wallet {{wallet}}

+{% endif %} +

{{prevy}}  ...  @@ -42,7 +47,7 @@ {% for f in files %} {{ f}}
{% empty %} -

<No files here> +

<No files in this wallet.> {% endfor %}

{% if create %} @@ -51,19 +56,38 @@ {% endif %}

-Wallet status page +Wallet index for this year (old script, being replaced...)
-Wallet index for this year -
-Logbook entries, Survex files for this year +Logbook entries, people, Survex files for {{year}}
+ + +{% if complaints %} +

Complaints

+ + +{% if user.username %} +{% else %} +

You will need to log in to the website (top right menu bar) to be able to edit the settings on this wallet. +{% endif %} + +{% endif %}


{% if not create %}
- {% if cave %}Cave ID: {{cave}}
{% endif %} + {% if cave %}Cave ID: + {% if caveobject %}{{cave}} which implies "{{caveobject}}"
+ {% else %} + {{cave}}
+ {% endif %} + {% endif %} {% if psg %}Survey area: {{psg}}
{% endif %} {% if svxfiles %}Survey files: {% for svx in svxfiles%} @@ -119,8 +143,8 @@
- - + +