summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-11-06 14:58:10 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-02-19 14:43:49 +0100
commitf5e0f52320fbf618b97e275c54f39176303d060d (patch)
treea5f0e6ad705dd935ad43122f578352d49f3b279b /archaeological_context_records/models.py
parent6a26d7e015b00039f2c6754d828d79915fdc1c23 (diff)
downloadIshtar-f5e0f52320fbf618b97e275c54f39176303d060d.tar.bz2
Ishtar-f5e0f52320fbf618b97e275c54f39176303d060d.zip
💄 quick actions: put management actions in orange
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index a3219e76a..50b9bbf42 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -794,6 +794,7 @@ class ContextRecord(
"archaeological_context_records.change_contextrecord",
"archaeological_context_records.change_own_contextrecord"
],
+ btn_class="btn-warning"
)
QA_LINK = QuickAction(
url="contextrecord-qa-link",
@@ -801,6 +802,7 @@ class ContextRecord(
text=_("Link to account"),
target="many",
rights=["ishtaradmin"],
+ btn_class="btn-warning"
)
QA_EDIT = QuickAction(
url="contextrecord-qa-bulk-update",