diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-02-26 11:29:29 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-24 19:38:57 +0200 |
commit | 02e25cac88ad4c479ee25a7b5997dcfa5eae9b7f (patch) | |
tree | 455c85674bf0fe39404482a8cb988e139d2066f7 | |
parent | 94625c811cb68fdc15629f9f4bc24caf60d97eed (diff) | |
download | Ishtar-02e25cac88ad4c479ee25a7b5997dcfa5eae9b7f.tar.bz2 Ishtar-02e25cac88ad4c479ee25a7b5997dcfa5eae9b7f.zip |
Context record: fix get town polygon from site
-rw-r--r-- | archaeological_context_records/models.py | 2 | ||||
-rw-r--r-- | ishtar_common/static/media/styles.css | 2 |
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; |