Dashboard dynamic content

* replaces static dummy values with database values
* renames 'Your own' into 'Shared with you' for clarification
* adds translation
This commit is contained in:
mipel committed 2021-07-28 08:50:53 +02:00
1 parent ea4cbcffff
commit 4a492ff0bc
5 files changed
+173 -119

No files matched your search

+3
View File
@@ -89,6 +89,9 @@ class Compensation(BaseObject):
geometry = models.ForeignKey(Geometry, null=True, blank=True, on_delete=models.SET_NULL)
documents = models.ManyToManyField("konova.Document", blank=True)
# Holds which intervention is simply a newer version of this dataset
next_version = models.ForeignKey("Compensation", null=True, blank=True, on_delete=models.DO_NOTHING)
intervention = models.ForeignKey(
Intervention,
on_delete=models.CASCADE,