2021-01-05 12:05:34 +00:00
|
|
|
|
|
|
|
{% load i18n %}
|
2021-01-04 11:02:25 +00:00
|
|
|
{% load static %}
|
|
|
|
|
|
|
|
<script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script>
|
|
|
|
<script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
|
|
|
|
<script type="text/javascript" src="{% static 'admin/js/jquery.init.js' %}"></script>
|
|
|
|
|
|
|
|
{{ form.media }}
|
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/base.css' %}" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static 'admin/css/widgets.css' %}" />
|
|
|
|
|
2021-03-03 14:05:27 +00:00
|
|
|
{% load socialaccount %}
|
|
|
|
{% if user.is_authenticated %}
|
2021-01-04 14:48:32 +00:00
|
|
|
{% block content %}
|
2022-01-25 10:21:57 +00:00
|
|
|
|
|
|
|
{% get_current_language as LANGUAGE_CODE %}
|
|
|
|
<!-- Current language: {{ LANGUAGE_CODE }} -->
|
2021-01-04 11:02:25 +00:00
|
|
|
<center>
|
|
|
|
<style>
|
|
|
|
ul > li {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
padding-left: 10;
|
|
|
|
}
|
|
|
|
label.required::after {
|
|
|
|
content: ' *';
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<img src="{% static 'evapp/logo.png' %}" />
|
2021-09-14 07:58:41 +00:00
|
|
|
{% if TESTMODE %}
|
2022-01-26 12:29:21 +00:00
|
|
|
<h1 style="background-color:red;color:white">{% translate "WARNUNG! Test-MODUS aktiviert. Es werden keine Mails verschickt!" %}</h1>
|
2021-09-14 07:58:41 +00:00
|
|
|
{% endif %}
|
2021-01-04 11:02:25 +00:00
|
|
|
<h1>
|
2021-03-25 11:45:58 +00:00
|
|
|
E (V A) - Eintritt, (Veränderung, Austritt)<p>
|
2022-01-25 10:21:57 +00:00
|
|
|
</h1>{% translate "Du bist eingeloggt als" %} {{ user.email }}
|
2021-01-13 12:30:25 +00:00
|
|
|
<h2>
|
2022-01-31 11:08:14 +00:00
|
|
|
<p> {% translate "Schritt" %} {{ wizard.steps.step1 }} {% translate "von" %} {{ wizard.steps.count }}</p>
|
2021-01-13 12:30:25 +00:00
|
|
|
<p>{% if wizard.steps.step1 == 1 %}
|
2022-01-26 12:29:21 +00:00
|
|
|
{% translate "Angaben zur Person" %} {% endif %}
|
2021-02-04 08:24:54 +00:00
|
|
|
{% if choice == 'IN' %}
|
|
|
|
{% if wizard.steps.step1 == 2 %}
|
2022-01-26 12:29:21 +00:00
|
|
|
{% translate "Angaben zum neuen Arbeitsverhältnis" %}
|
2021-02-04 08:24:54 +00:00
|
|
|
{% elif wizard.steps.step1 == 3 %}
|
2022-01-26 12:29:21 +00:00
|
|
|
{% translate "IT-relevante Angaben" %}
|
2021-02-04 08:24:54 +00:00
|
|
|
{% elif wizard.steps.step1 == 4 %}
|
2022-01-26 12:29:21 +00:00
|
|
|
{% translate "Office-relevante Angaben" %}
|
2021-02-04 08:24:54 +00:00
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
{% if wizard.steps.step1 == 2 %}
|
|
|
|
Veränderungsrelevante Angaben
|
2021-01-13 12:30:25 +00:00
|
|
|
{% endif %}
|
2021-02-04 11:59:23 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if datatable == True %}
|
2022-01-26 12:29:21 +00:00
|
|
|
{% translate "Bestätigungsschritt" %}
|
2021-02-04 08:24:54 +00:00
|
|
|
{% endif %}
|
2021-01-13 12:30:25 +00:00
|
|
|
</p>
|
|
|
|
</h2>
|
2021-02-04 11:59:23 +00:00
|
|
|
{% if datatable == True %}
|
2021-05-04 12:24:25 +00:00
|
|
|
<table>
|
2021-01-14 11:44:04 +00:00
|
|
|
{% for key, value in data.items %}
|
2021-05-04 12:24:25 +00:00
|
|
|
<tr><th>{{ key }}</th><th>{{ value }}</th></tr>
|
2021-01-14 11:44:04 +00:00
|
|
|
{% endfor %}
|
2021-05-04 12:24:25 +00:00
|
|
|
</table>
|
2021-01-14 11:44:04 +00:00
|
|
|
{% endif %}
|
2021-01-04 11:02:25 +00:00
|
|
|
<form action="" method="post">
|
|
|
|
{% csrf_token %}
|
|
|
|
<table>
|
2021-03-02 09:54:35 +00:00
|
|
|
{% comment %}
|
|
|
|
comment this back in if you want to use CHANGE and EXIT process
|
|
|
|
{% if wizard.steps.step1 > 1 %}
|
|
|
|
Du hast den Prozess "{{choice_string}}" ausgewählt.
|
|
|
|
{% endif %}
|
|
|
|
{% endcomment %}
|
2021-01-12 09:57:21 +00:00
|
|
|
{{ wizard.management_form }}
|
|
|
|
{% if wizard.form.forms %}
|
|
|
|
{{ wizard.form.management_form }}
|
|
|
|
{% for form in wizard.form.forms %}
|
|
|
|
{{ form }}
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
{{ wizard.form }}
|
|
|
|
{% endif %}
|
2021-01-04 11:02:25 +00:00
|
|
|
</table>
|
2021-01-12 09:57:21 +00:00
|
|
|
<p>
|
2022-01-26 12:29:21 +00:00
|
|
|
<span style="color: red">*</span> {% translate "Pflichtfeld" %}
|
2021-01-12 09:57:21 +00:00
|
|
|
<p>
|
|
|
|
{% if wizard.steps.prev %}
|
2022-01-26 12:29:21 +00:00
|
|
|
<button formnovalidate="formnovalidate" name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">{% translate "Zurück" %}</button>
|
2021-01-12 09:57:21 +00:00
|
|
|
{% endif %}
|
2021-05-04 08:44:00 +00:00
|
|
|
{% if datatable == True %}
|
2022-01-26 12:29:21 +00:00
|
|
|
<button type="submit" value="{% trans "Weiter" %}">{% translate "Abschicken" %}</button>
|
2021-05-04 08:44:00 +00:00
|
|
|
{% else %}
|
2022-01-26 12:29:21 +00:00
|
|
|
<button type="submit" value="{% trans "Weiter" %}">{% translate "Weiter" %}</button>
|
2021-05-04 08:44:00 +00:00
|
|
|
{% endif %}
|
2021-01-04 11:02:25 +00:00
|
|
|
</form>
|
2021-01-12 09:57:21 +00:00
|
|
|
<p>
|
2022-01-26 12:29:21 +00:00
|
|
|
<a href="{% url 'account_logout' %}">{% translate "logout" %}</a>
|
2021-01-05 12:05:34 +00:00
|
|
|
</center>
|
|
|
|
{% endblock %}
|
2021-03-03 14:05:27 +00:00
|
|
|
{% else %}
|
2022-01-26 12:29:21 +00:00
|
|
|
<a href="{% provider_login_url 'nextcloud' %}">{% translate "Bitte einloggen!" %}</a>
|
2021-03-03 14:05:27 +00:00
|
|
|
{% endif %}
|