summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-02 12:04:26 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-16 17:04:41 +0100
commit46ee7a1ad70b77a7548914ea2d85dab15db8edcd (patch)
tree01eefca20cbe21bcb99eb682d1c23f10b78a79eb /archaeological_context_records/models.py
parenta72adcf584bd6aa1508df6dbcbdffddd6ab6c930 (diff)
downloadIshtar-46ee7a1ad70b77a7548914ea2d85dab15db8edcd.tar.bz2
Ishtar-46ee7a1ad70b77a7548914ea2d85dab15db8edcd.zip
Context record: bulk update - add relations
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 151446c2d..71adcb219 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -589,7 +589,15 @@ class ContextRecord(
target="many",
rights=["change_contextrecord", "change_own_contextrecord"],
)
+ QA_EDIT = QuickAction(
+ url="contextrecord-qa-bulk-update",
+ icon_class="fa fa-pencil",
+ text=_("Bulk update"),
+ target="many",
+ rights=["change_contextrecord", "change_own_contextrecord"],
+ )
QUICK_ACTIONS = [
+ QA_EDIT,
QA_LOCK,
QuickAction(
url="contextrecord-qa-duplicate",