diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-03-31 16:48:52 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2026-04-02 13:30:50 +0200 |
| commit | e7bdab832a7e886d13a3778d97234c64fcac68bf (patch) | |
| tree | 492ab98d64e452b580aba8ed6c04c34d8981752b /archaeological_finds | |
| parent | 934fe4b6b080a7563119d40f4ef5ce6d7c7a3254 (diff) | |
| download | Ishtar-e7bdab832a7e886d13a3778d97234c64fcac68bf.tar.bz2 Ishtar-e7bdab832a7e886d13a3778d97234c64fcac68bf.zip | |
✨ sheet: json fields - "no data" is not always displayed
Diffstat (limited to 'archaeological_finds')
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 2 | ||||
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_museum_find.html | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 8b23000ed..0ae238d66 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -319,7 +319,9 @@ {% if item.data and item.data|length > 0 %} <div class="tab-pane fade" id="{{window_id}}-json" role="tabpanel" aria-labelledby="{{window_id}}-json-tab"> + {% with json_show_no_data=True %} {% include "ishtar/blocks/sheet_json.html" %} + {% endwith %} </div> {% endif %} </div> diff --git a/archaeological_finds/templates/ishtar/sheet_museum_find.html b/archaeological_finds/templates/ishtar/sheet_museum_find.html index 502d8cc5c..3acec990e 100644 --- a/archaeological_finds/templates/ishtar/sheet_museum_find.html +++ b/archaeological_finds/templates/ishtar/sheet_museum_find.html @@ -319,7 +319,9 @@ {% if item.data and item.data|length > 0 %} <div class="tab-pane fade" id="{{window_id}}-json" role="tabpanel" aria-labelledby="{{window_id}}-json-tab"> + {% with json_show_no_data=True %} {% include "ishtar/blocks/sheet_json.html" %} + {% endwith %} </div> {% endif %} </div> |
