diff options
-rw-r--r-- | archaeological_finds/models_finds.py | 2 | ||||
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 7a23cfb86..7d9b4bd8a 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -685,7 +685,7 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, ImageModel, blank=True ) volume = models.FloatField(_(u"Volume (l)"), blank=True, null=True) - weight = models.FloatField(_(u"Weight (g)"), blank=True, null=True) + weight = models.FloatField(_(u"Weight"), blank=True, null=True) weight_unit = models.CharField(_(u"Weight unit"), max_length=4, blank=True, null=True, choices=WEIGHT_UNIT) find_number = models.IntegerField(_(u"Find number"), blank=True, null=True) diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 0bc26b58c..ef54be952 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -45,7 +45,8 @@ {% field_flex "Diameter (cm)" item.diameter %} {% field_flex "Thickness (cm)" item.thickness %} {% field_flex "Volume (l)" item.volume %} - {% field_flex "Weight" item.weight_string %} + {% trans "Weight (g)" as weight_label %} + {% field_flex weight_label item.weight_string %} {% field_flex_full "Dimensions comment" item.dimensions_comment "<pre>" "</pre>" %} {% field_flex "Find number" item.find_number %} |