Add the current step and total steps of a wizard in the template context.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -160,6 +160,7 @@
|
|||||||
- Add file_size and datetime fields to the DocumentPageCachedImage
|
- Add file_size and datetime fields to the DocumentPageCachedImage
|
||||||
model.
|
model.
|
||||||
- Make icon classes file template based.
|
- Make icon classes file template based.
|
||||||
|
- Add the current step and total steps of a wizard in the template context.
|
||||||
|
|
||||||
3.0.3 (2018-08-17)
|
3.0.3 (2018-08-17)
|
||||||
==================
|
==================
|
||||||
|
|||||||
@@ -376,6 +376,7 @@ classes beyond the provide line chart.
|
|||||||
- Add file_size and datetime fields to the DocumentPageCachedImage
|
- Add file_size and datetime fields to the DocumentPageCachedImage
|
||||||
model.
|
model.
|
||||||
- Make icon classes file template based.
|
- Make icon classes file template based.
|
||||||
|
- Add the current step and total steps of a wizard in the template context.
|
||||||
|
|
||||||
Removals
|
Removals
|
||||||
--------
|
--------
|
||||||
|
|||||||
@@ -168,6 +168,8 @@ class DocumentCreateWizard(SessionWizardView):
|
|||||||
'submit_label': _('Next step'),
|
'submit_label': _('Next step'),
|
||||||
'submit_icon_class': icon_wizard_submit,
|
'submit_icon_class': icon_wizard_submit,
|
||||||
'title': _('Document upload wizard'),
|
'title': _('Document upload wizard'),
|
||||||
|
'wizard_step': wizard_step,
|
||||||
|
'wizard_steps': WizardStep.get_all(),
|
||||||
})
|
})
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user