chol
/
eva
forked from tohe/eva
1
0
Fork 0

template fixed for CHANGE-Process

This commit is contained in:
Benni Bärmann 2021-02-04 09:24:54 +01:00
parent 49718e66ff
commit 2b613b447f
2 changed files with 19 additions and 5 deletions

View File

@ -33,15 +33,28 @@
<h2> <h2>
<p>Schritt {{ wizard.steps.step1 }} von {{ wizard.steps.count }}</p> <p>Schritt {{ wizard.steps.step1 }} von {{ wizard.steps.count }}</p>
<p>{% if wizard.steps.step1 == 1 %} <p>{% if wizard.steps.step1 == 1 %}
Angaben zur Person Angaben zur Person {% endif %}
{% elif wizard.steps.step1 == 2 %} {% if choice == 'IN' %}
{% if wizard.steps.step1 == 2 %}
Angaben zum neuen Arbeitsverhältnis Angaben zum neuen Arbeitsverhältnis
{% elif wizard.steps.step1 == 3 and choice == 'IN' %} {% elif wizard.steps.step1 == 3 %}
IT-relevante Angaben IT-relevante Angaben
{% elif wizard.steps.step1 == 4 and choice == 'IN' %} {% elif wizard.steps.step1 == 4 %}
Office-relevante Angaben Office-relevante Angaben
{% else %} {% elif wizards.steps.step1 == 5 %}
Bestätigungsschritt Bestätigungsschritt
{% else %}
Achtung! Unerkannter Schritt
{% endif %}
{% else %}
{% if wizard.steps.step1 == 2 %}
Veränderungsrelevante Angaben
{% elif wizards.steps.step1 == 3 %}
Bestätigungsschritt
{% else %}
Achtung! Unerkannter Schritt
{% endif %}
{% endif %} {% endif %}
</p> </p>
</h2> </h2>

View File

@ -6,6 +6,7 @@ urlpatterns = [
path('', EvaFormView.as_view(condition_dict = {'1': long_process, path('', EvaFormView.as_view(condition_dict = {'1': long_process,
'2': long_process, '2': long_process,
'3': long_process, '3': long_process,
'4': change_process,}), '4': change_process,}),
name='evaform'), name='evaform'),
path('success', success, name='success') path('success', success, name='success')