diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-07-13 10:30:03 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-07-13 10:30:03 +0200 |
commit | a0fdc09ccf429c1473775ff04e1643224d877e20 (patch) | |
tree | d70dbab95ccdfcbe4c15f8e4d90315da9fb6182c /archaeological_finds | |
parent | 939bb82df4a993502d39bfb852b348547746cafa (diff) | |
download | Ishtar-a0fdc09ccf429c1473775ff04e1643224d877e20.tar.bz2 Ishtar-a0fdc09ccf429c1473775ff04e1643224d877e20.zip |
🐛 fix find redirection after geo item creation/modification
Diffstat (limited to 'archaeological_finds')
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 42d7a41b9..076c20c47 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -543,6 +543,7 @@ role="tabpanel" aria-labelledby="{{window_id}}-geodata-tab"> <h3>{% trans "Geographic data" %}</h3> + {% with find_id=item.pk %} {% for base_find in item.base_finds.all %} {% with geo_item=base_find %} <h4>{% if base_find.complete_identifier %}{{ base_find.complete_identifier }}{% else %}{{base_find.short_id}}{% endif %}</h4> @@ -550,6 +551,7 @@ {% include "ishtar/blocks/sheet_geographic.html" %} {% endwith %} {% endwith %} {% endfor %} + {% endwith %} </div> {% endif %} |