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
2021-07-28 08:50:53 +02:00
parent ea4cbcffff
commit 4a492ff0bc
5 changed files with 173 additions and 119 deletions

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,