summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archaeological_context_records/models.py2
-rw-r--r--ishtar_common/static/media/styles.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index a2793ac67..004e292d9 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -521,7 +521,7 @@ class ContextRecord(BulkUpdatedItem, BaseHistorizedItem, GeoItem,
if self.town:
return self.town.limit, self._meta.verbose_name
if self.archaeological_site:
- polys = self.archaeological_site.get_town_centroid()
+ polys = self.archaeological_site.get_town_polygons()
if polys:
return polys
return self.operation.get_town_polygons()
diff --git a/ishtar_common/static/media/styles.css b/ishtar_common/static/media/styles.css
index 507948915..422a9a906 100644
--- a/ishtar_common/static/media/styles.css
+++ b/ishtar_common/static/media/styles.css
@@ -210,7 +210,7 @@ table.dataTable thead th, table.dataTable thead td {
#message {
z-index: 42200;
- position: absolute;
+ position: fixed;
top: 5px;
right: 5px;
background: #fff;