From d812ef24a8bf201ff77386077990b6b6085c4979 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 22 Nov 2021 00:32:45 +0100 Subject: Quick action context record: change position of +find button (refs #5184) --- archaeological_context_records/models.py | 12 ------------ 1 file changed, 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 -- cgit v1.2.3