summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
authorValérie-Emma Leroux <emma@iggdrasil.net>2018-02-23 11:10:59 +0100
committerValérie-Emma Leroux <emma@iggdrasil.net>2018-02-23 11:10:59 +0100
commit99c8caf4180aea9b85dadc9f78e72617d83d3788 (patch)
treee5a3e965001ec480eb99a0f224a973b0fe66e762 /archaeological_finds
parentf82589a4ad3d6501d4b07afe7b1f39467d355147 (diff)
downloadIshtar-99c8caf4180aea9b85dadc9f78e72617d83d3788.tar.bz2
Ishtar-99c8caf4180aea9b85dadc9f78e72617d83d3788.zip
Update labels
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/models_finds.py2
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html3
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 %}