diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-09 13:09:05 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-04-16 16:41:50 +0200 |
| commit | a6e806ddd867ef953715c5beed8015006f8a14c5 (patch) | |
| tree | 551883016fc783b5665cedd4917e38310622d912 /archaeological_finds | |
| parent | ea1351c32d4a34e0eaf6ac4cba77135c3350de67 (diff) | |
| download | Ishtar-a6e806ddd867ef953715c5beed8015006f8a14c5.tar.bz2 Ishtar-a6e806ddd867ef953715c5beed8015006f8a14c5.zip | |
✨ find/document sheet update
fields: quantity_comment, technical_areas, technical_processes, rights_owner, licenses, copyright, shooting_angle.
Diffstat (limited to 'archaeological_finds')
| -rw-r--r-- | archaeological_finds/models_finds.py | 12 | ||||
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 3 |
2 files changed, 9 insertions, 6 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 0df6cdf75..371b5b64c 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -1865,6 +1865,12 @@ class Find( blank=True, null=True, ) + technical_processes = models.ManyToManyField( + TechnicalProcessType, + verbose_name=_("Technical processes"), + related_name="find", + blank=True, + ) material_comment = models.TextField( _("Comment on the material"), blank=True, default="" ) @@ -1942,12 +1948,6 @@ class Find( related_name="find", blank=True, ) - technical_processes = models.ManyToManyField( - TechnicalProcessType, - verbose_name=_("Technical processes"), - related_name="find", - blank=True, - ) integrities = models.ManyToManyField( IntegrityType, verbose_name=_("Integrity / interest"), diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index fdbc0c6c1..c163b7d57 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -176,12 +176,15 @@ {% field_flex_multiple_obj "Material types" item 'material_types' %} {% endif %}{% endwith %} {% field_flex "Material type quality" item.material_type_quality %} + {% field_flex_multiple_obj "Technical processes" item 'technical_processes' %} {% field_flex_full "Comment on the material" item.material_comment "<pre>" "</pre>" %} {% field_flex_multiple_obj "Object types" item 'object_types' %} {% field_flex "Object type quality" item.object_type_quality %} {% field_flex_multiple_obj "Functional areas" item 'functional_areas' %} + {% field_flex_multiple_obj "Technical areas" item 'technical_areas' %} {% field_flex "Number of remains" item.find_number %} {% field_flex "Minimum number of individuals (MNI)" item.min_number_of_individuals %} + {% field_flex_full "Comment on quantity" item.quantity_comment "<pre>" "</pre>" %} {% field_flex_full "Decoration" item.decoration "<pre>" "</pre>" %} {% field_flex_full "Inscription" item.inscription "<pre>" "</pre>" %} {% field_flex "Manufacturing place" item.manufacturing_place %} |
