diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-09-17 11:10:30 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-09-17 11:29:18 +0200 | 
| commit | 9430e8577cff4995c310f5675ea5d2a619554ccf (patch) | |
| tree | e809cc61d746115afa703042591e8f7cc696bfdb /archaeological_operations/models.py | |
| parent | 0e22d62ec2cacfe501bdb7a4f3afde9081366d55 (diff) | |
| download | Ishtar-9430e8577cff4995c310f5675ea5d2a619554ccf.tar.bz2 Ishtar-9430e8577cff4995c310f5675ea5d2a619554ccf.zip  | |
✨ Operations: remove form from the wizard to put in a specific form
Diffstat (limited to 'archaeological_operations/models.py')
| -rw-r--r-- | archaeological_operations/models.py | 12 | 
1 files changed, 12 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 4220e6cc2..d17e529a7 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -2017,6 +2017,18 @@ class Operation(                      False,                  ),              ] +        if can_edit_operation and not is_locked: +            actions += [ +                ( +                    reverse("operation-relation-modify", args=[self.pk]), +                    _("Modify relations"), +                    "fa fa-retweet", +                    _("relations"), +                    "", +                    True, +                ), +            ] +          if can_edit_operation:              actions += [                  (  | 
