summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-13 16:54:19 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-19 14:42:32 +0200
commitbaa8b37fe683828cb2471f1616d5d8ad36e91920 (patch)
tree589787cfbb8428740b0be2afa1e73b99daa77a31 /archaeological_finds
parentb81a8233c9d905fd8cee50a68e4750d639f15308 (diff)
downloadIshtar-baa8b37fe683828cb2471f1616d5d8ad36e91920.tar.bz2
Ishtar-baa8b37fe683828cb2471f1616d5d8ad36e91920.zip
🐛 documentation - add missing fields, sections in technical values, fix translations
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/models_finds.py2
-rw-r--r--archaeological_finds/models_treatments.py2
-rw-r--r--archaeological_finds/templates/ishtar/sheet_findbasket.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index 35ba0f5c0..fff692917 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -906,7 +906,7 @@ WEIGHT_UNIT = (
class FindBasket(Basket, MainItem, ValueGetter):
SHOW_URL = "show-findbasket"
SLUG = "findbasket"
- items = models.ManyToManyField("Find", blank=True, related_name="basket")
+ items = models.ManyToManyField("Find", blank=True, related_name="basket", verbose_name=_("Associated finds"))
QA_EDIT = QuickAction(
url="findbasket-qa-bulk-update",
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index 3d1759b54..04747e3a1 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -1109,7 +1109,7 @@ class TreatmentFile(
_("Internal reference"), blank=True, null=True, max_length=200
)
external_id = models.CharField(
- _("External ID"), blank=True, null=True, max_length=200
+ _("Reference"), blank=True, null=True, max_length=200
)
name = models.TextField(_("Name"), blank=True, default="")
type = models.ForeignKey(
diff --git a/archaeological_finds/templates/ishtar/sheet_findbasket.html b/archaeological_finds/templates/ishtar/sheet_findbasket.html
index af5baea5d..4b3d9321e 100644
--- a/archaeological_finds/templates/ishtar/sheet_findbasket.html
+++ b/archaeological_finds/templates/ishtar/sheet_findbasket.html
@@ -11,7 +11,7 @@
<div class='row'>
{% field_flex "Label" item.label %}
- {% field_flex_detail "Owned by" item.user.person %}
+ {% field_flex_detail _("Owned by") item.user.person %}
{% field_flex "Slug" item.slug %}
{% field_flex "Is public" item.public %}
{% field_flex "Comment" item.comment %}