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:
Roberto Rosario
2018-09-17 17:09:59 -04:00
parent 62e221ffbb
commit c2bb697306
3 changed files with 4 additions and 0 deletions

View File

@@ -160,6 +160,7 @@
- Add file_size and datetime fields to the DocumentPageCachedImage
model.
- 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)
==================

View File

@@ -376,6 +376,7 @@ classes beyond the provide line chart.
- Add file_size and datetime fields to the DocumentPageCachedImage
model.
- Make icon classes file template based.
- Add the current step and total steps of a wizard in the template context.
Removals
--------

View File

@@ -168,6 +168,8 @@ class DocumentCreateWizard(SessionWizardView):
'submit_label': _('Next step'),
'submit_icon_class': icon_wizard_submit,
'title': _('Document upload wizard'),
'wizard_step': wizard_step,
'wizard_steps': WizardStep.get_all(),
})
return context