diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-12-18 18:46:44 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-12-18 18:46:44 +0100 |
commit | f99cdf5c4c6931bd7315d2674b31ba2ee9e1c4ca (patch) | |
tree | 724c59996e20f35033254a453135fb7b1fd873d0 /archaeological_operations/wizards.py | |
parent | 99004116cf0b45884bb3f52c62c1ae8bb5b36702 (diff) | |
download | Ishtar-f99cdf5c4c6931bd7315d2674b31ba2ee9e1c4ca.tar.bz2 Ishtar-f99cdf5c4c6931bd7315d2674b31ba2ee9e1c4ca.zip |
Operation wizard: improve relations layout (form and summary)
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r-- | archaeological_operations/wizards.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py index 78a5c3350..2e7b3c4b4 100644 --- a/archaeological_operations/wizards.py +++ b/archaeological_operations/wizards.py @@ -40,6 +40,7 @@ class OperationWizard(Wizard): model = models.Operation object_parcel_type = 'operation' parcel_step_key = 'parcels' + relations_step_key = 'relations' # step contening the current(s) town(s) town_step_keys = ['towns-', 'townsgeneral-'] town_input_id = 'town' # input id of the current(s) town(s) @@ -52,6 +53,8 @@ class OperationWizard(Wizard): current_step = self.steps.current if current_step.startswith(self.parcel_step_key): templates = ['ishtar/wizard/parcels_wizard.html'] + templates + elif current_step.startswith(self.relations_step_key): + templates = ['ishtar/wizard/relations_wizard.html'] + templates return templates def get_current_file(self): |