summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-12-18 16:37:25 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-12-18 16:37:25 +0100
commit153b7057f7ba490660f7363d47fdfcd1b0a985d2 (patch)
treee211d46cdebc166bc723874cd722a0c1341385d9 /archaeological_operations/models.py
parent6f34f50c623b852c15c8c5d09dab37bb6506d949 (diff)
downloadIshtar-153b7057f7ba490660f7363d47fdfcd1b0a985d2.tar.bz2
Ishtar-153b7057f7ba490660f7363d47fdfcd1b0a985d2.zip
Shortcut: add document for operation
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index de40657ab..adcadccd7 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -1069,9 +1069,9 @@ class Operation(ClosedItem, BaseHistorizedItem, OwnPerms, ValueGetter,
For sheet template
"""
# url, base_text, icon, extra_text, extra css class, is a quick action
+ actions = super(Operation, self).get_extra_actions(request)
can_add_cr = self.can_do(request, 'add_contextrecord')
- actions = []
if can_add_cr:
actions += [
(reverse('operation-qa-contextrecord', args=[self.pk]),