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>2022-07-08 09:58:49 +0200
commit8f770e1e3e90791bf2322ff9eb7767a0f0507f0a (patch)
tree677162632ff74ff04d8b2bdc1498045062601222 /archaeological_context_records/models.py
parentbc543ff77baa143295bd1f669c8cbbc6de8c9ebc (diff)
downloadIshtar-8f770e1e3e90791bf2322ff9eb7767a0f0507f0a.tar.bz2
Ishtar-8f770e1e3e90791bf2322ff9eb7767a0f0507f0a.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 f620b1ff1..41a76b171 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",