summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_finds.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-04 11:42:13 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-04 11:42:13 +0200
commitd7e26ad68e62014d1fbe01c36b0bd1d5688181c2 (patch)
tree5583a0e1066fc121454624501d8d4baebdbe04c6 /archaeological_finds/models_finds.py
parent5db0ce5c1ba51c2b9f5d763a64343352e29bcbab (diff)
downloadIshtar-d7e26ad68e62014d1fbe01c36b0bd1d5688181c2.tar.bz2
Ishtar-d7e26ad68e62014d1fbe01c36b0bd1d5688181c2.zip
QA find basket: add treatment file
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r--archaeological_finds/models_finds.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index 24e5227c1..2616d61fa 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -674,6 +674,11 @@ class FindBasket(Basket, MainItem, ValueGetter):
(reverse('findbasket-add-treatment', args=[self.pk]),
_(u"Add treatment"), "fa fa-flask", "", "", False),
]
+ if self.can_do(request, "add_treatmentfile"):
+ actions += [
+ (reverse('findbasket-add-treatmentfile', args=[self.pk]),
+ _(u"Add treatment file"), "fa fa-file-text-o", "", "", False),
+ ]
duplicate = self.QUICK_ACTIONS[0]
actions += [