diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-09 13:09:05 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-10 14:45:20 +0100 |
| commit | 0472156fe3a1fd88d55a01e096d48b6a049b2e16 (patch) | |
| tree | bfb841c8bd7b77ca205a87fb1c1ac9f9515d8f58 /archaeological_finds | |
| parent | c9877e344061cdf7dbd000dce2bd4f213551603e (diff) | |
| download | Ishtar-0472156fe3a1fd88d55a01e096d48b6a049b2e16.tar.bz2 Ishtar-0472156fe3a1fd88d55a01e096d48b6a049b2e16.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 be48ca73c..929e4374c 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -1864,6 +1864,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="" ) @@ -1941,12 +1947,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 %} |
