summaryrefslogtreecommitdiffstats
path: root/templates/walletform.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-02-03 11:34:38 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2023-02-03 11:34:38 +0000
commite70d51e52b3179ae9a17ab7fdf93236ebf3bd7df (patch)
treebff7b8ab953dbd69d7211110cef2b37b7aa0b469 /templates/walletform.html
parent7f5bd2c17ee2f3dcb0477ec24772206cdb27e7b9 (diff)
downloadtroggle-e70d51e52b3179ae9a17ab7fdf93236ebf3bd7df.tar.gz
troggle-e70d51e52b3179ae9a17ab7fdf93236ebf3bd7df.tar.bz2
troggle-e70d51e52b3179ae9a17ab7fdf93236ebf3bd7df.zip
Made JSON visible on wallet edit page
Diffstat (limited to 'templates/walletform.html')
-rw-r--r--templates/walletform.html18
1 files changed, 14 insertions, 4 deletions
diff --git a/templates/walletform.html b/templates/walletform.html
index b1681f3..6ac419a 100644
--- a/templates/walletform.html
+++ b/templates/walletform.html
@@ -253,10 +253,20 @@
{% else %}
<em>No other survex files found for this date.</em><br>
{% endif %}
- {% if metadataurl %}<u>Debug</u>:
- <span style="font-size: 70%; ">
- <a href="{{metadataurl}}">json file</a><br> {% endif %}
- </span>
+
+ {% if metadataurl %}<span style="font-size: 70%; "><details><summary>
+ JSON <br>
+ </summary>
+ <a href="{{metadataurl}}">{{metadataurl}}</a><br>
+ <pre>
+ {{metadata}}
+ </pre>
</span>
+ </details>
+ {% else %}<span style="font-size: 70%; ">
+ <em>No JSON file yet.</em><br>
+ </span>
+ {% endif %}
{% endif %} <!-- not create -->
+ </span>
{% endblock %}