diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-10-12 16:07:34 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-16 17:04:41 +0100 |
commit | 006381bd9f0deb9809d1710c7d3e1a7635456903 (patch) | |
tree | d0185802a930d69f76de1ec8a010481274e00e92 /archaeological_files/models.py | |
parent | 3f96296a443bb0b211cb258b9d2168fa981e8dd3 (diff) | |
download | Ishtar-006381bd9f0deb9809d1710c7d3e1a7635456903.tar.bz2 Ishtar-006381bd9f0deb9809d1710c7d3e1a7635456903.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", |