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
commit3717706493eb955b39faa0e5a6989f2b44b071ba (patch)
tree677162632ff74ff04d8b2bdc1498045062601222 /archaeological_context_records/models.py
parentb4e9390b5672a1ccb12dd2b96dbf7a6aec0783f5 (diff)
downloadIshtar-3717706493eb955b39faa0e5a6989f2b44b071ba.tar.bz2
Ishtar-3717706493eb955b39faa0e5a6989f2b44b071ba.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",