summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-19 17:33:37 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-03-19 17:33:37 +0100
commit1ce09b797cdff55127caf7ad78d3f4c9d7ff9c47 (patch)
tree656e6b4f57ae2386987a06dab0006b1a3c966b85 /archaeological_finds/models_treatments.py
parent441ece7a95039679455eb45b029b8a84a4be508d (diff)
downloadIshtar-1ce09b797cdff55127caf7ad78d3f4c9d7ff9c47.tar.bz2
Ishtar-1ce09b797cdff55127caf7ad78d3f4c9d7ff9c47.zip
Treatments/Treatment files sheets: add source list (refs #3402)
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r--archaeological_finds/models_treatments.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index 2efedbc22..4a453f538 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -567,6 +567,7 @@ class TreatmentSource(Source):
Treatment, verbose_name=_(u"Treatment"), related_name="source")
BOOL_FIELDS = ['duplicate']
TABLE_COLS = ['treatment__cached_label'] + Source.TABLE_COLS
+ COL_LABELS = {'treatment__cached_label': _(u"Treatment")}
SHOW_URL = 'show-treatmentsource'
class Meta:
@@ -584,6 +585,7 @@ class TreatmentFileSource(Source):
related_name="source")
BOOL_FIELDS = ['duplicate']
TABLE_COLS = ['treatment_file__cached_label'] + Source.TABLE_COLS
+ COL_LABELS = {'treatment_file__cached_label': _(u"Treatment file")}
SHOW_URL = 'show-treatmentfilesource'
class Meta: