summaryrefslogtreecommitdiff
path: root/archaeological_context_records
diff options
context:
space:
mode:
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
commit208f027104efe94c9950cb83260570bf92f15097 (patch)
tree3289cebcbf2318fb7ec9fb467c7bd58e0df3e870 /archaeological_context_records
parentfb657db6843426dc39d2037ce63f46528b319052 (diff)
downloadIshtar-208f027104efe94c9950cb83260570bf92f15097.tar.bz2
Ishtar-208f027104efe94c9950cb83260570bf92f15097.zip
Quick action context record: change position of +find button (refs #5184)
Diffstat (limited to 'archaeological_context_records')
-rw-r--r--archaeological_context_records/models.py12
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