diff options
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 |
commit | 46ee7a1ad70b77a7548914ea2d85dab15db8edcd (patch) | |
tree | 01eefca20cbe21bcb99eb682d1c23f10b78a79eb /archaeological_context_records/models.py | |
parent | a72adcf584bd6aa1508df6dbcbdffddd6ab6c930 (diff) | |
download | Ishtar-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.py | 8 |
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", |