diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-22 00:32:45 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | d812ef24a8bf201ff77386077990b6b6085c4979 (patch) | |
tree | 3289cebcbf2318fb7ec9fb467c7bd58e0df3e870 | |
parent | d48741f846b006ab1a4a8c4c38dc918f7a905b82 (diff) | |
download | Ishtar-d812ef24a8bf201ff77386077990b6b6085c4979.tar.bz2 Ishtar-d812ef24a8bf201ff77386077990b6b6085c4979.zip |
Quick action context record: change position of +find button (refs #5184)
-rw-r--r-- | archaeological_context_records/models.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index d6d2f2b77..41a76b171 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -1009,18 +1009,6 @@ class ContextRecord( True, ), ] - can_create_find = self.can_do(request, "add_find") - if can_create_find: - actions += [ - ( - reverse("find_create", args=[self.pk]), - _("Add find"), - "fa fa-plus", - _("find"), - "", - False, - ), - ] return actions @classmethod |