summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/models.py2
-rw-r--r--archaeological_operations/templates/ishtar/sheet_site.html9
2 files changed, 10 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 471c104c9..5ccaf9b23 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -585,7 +585,7 @@ class ArchaeologicalSite(
on_delete=models.SET_NULL, blank=True, null=True
)
discoverer = models.ForeignKey(Person, verbose_name=_("Discoverer"), on_delete=models.SET_NULL,
- blank=True, null=True)
+ blank=True, null=True, related_name="site_discovered")
nature_of_site = models.ForeignKey(NatureOfSiteType, verbose_name=_("Nature of site"),
on_delete=models.SET_NULL, blank=True, null=True)
interpretation_level = models.ForeignKey(
diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html
index 6cc9a3454..718947e19 100644
--- a/archaeological_operations/templates/ishtar/sheet_site.html
+++ b/archaeological_operations/templates/ishtar/sheet_site.html
@@ -41,10 +41,18 @@
<div class="row">
{% field_flex "Other reference" item.other_reference %}
+ {% field_flex_multiple_obj _("Types") item 'types' %}
+ {% field_flex _("Discovery status") item.discovery_status %}
+ {% field_flex _("Current status") item.current_status %}
+ {% field_flex _("Nature of site") item.nature_of_site %}
+ {% field_flex _("Interpretation level") item.interpretation_level %}
{% field_flex_multiple_obj "Periods" item 'periods' %}
{% field_flex_multiple_obj "Remains" item 'remains' %}
{% field_flex_multiple_obj "Cultural attributions" item 'cultural_attributions' %}
+ {% field_flex_detail _("Discoverer") item.discoverer %}
{% field_flex_multiple "Collaborators" item.collaborators %}
+ {% field_flex_full _("Description") item.description "<pre>" "</pre>" %}
+ {% field_flex_full _("Public description") item.description "<pre>" "</pre>" %}
{% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}
</div>
@@ -75,6 +83,7 @@
{% else %}
{% field_flex_detail_multiple_full "Towns" item.towns %}
{% endif %}
+ {% field_flex_full _("Precise locality") item.precise_locality "<pre>" "</pre>" %}
{% field_flex_full "National Geographic Institute locality" item.locality_ngi "<pre>" "</pre>" %}
{% field_flex_full "Cadastral locality" item.locality_cadastral "<pre>" "</pre>" %}
</div>