diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-10-12 16:07:34 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:48 +0200 |
commit | 129719164e92ccdb93d2ac9ef9c4a61d8b645526 (patch) | |
tree | 835662251f375de42056af5fe46f3b958c2120b6 /archaeological_files/models.py | |
parent | 90f70cab6935ea31d45151ffde0862cf59d01c14 (diff) | |
download | Ishtar-129719164e92ccdb93d2ac9ef9c4a61d8b645526.tar.bz2 Ishtar-129719164e92ccdb93d2ac9ef9c4a61d8b645526.zip |
Preventive file: back button - quick action button
Diffstat (limited to 'archaeological_files/models.py')
-rw-r--r-- | archaeological_files/models.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/archaeological_files/models.py b/archaeological_files/models.py index 0eac73119..c6ab3b3d5 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -1086,6 +1086,14 @@ class File( if self.can_do(request, "add_administrativeact"): actions += [ ( + reverse("file-edit-preventive", args=[self.pk]), + _("Edit intervention plan"), + "fa fa-plus", + _("plan"), + "", + False, + ), + ( reverse("file-add-adminact", args=[self.pk]), _("Add associated administrative act"), "fa fa-plus", |