WMDE
/
eva
forked from tohe/eva
7
1
Fork 0

changed mails for testing purposes

This commit is contained in:
Marike Voßbeck 2026-03-18 16:50:03 +01:00
parent 1fb7bd9385
commit b4512a2739
2 changed files with 69 additions and 69 deletions

View File

@ -13,82 +13,82 @@ BASIC_DATA = [
# for every department: 'MAIL' => mail adress, 'DATA': additional fields to include # for every department: 'MAIL' => mail adress, 'DATA': additional fields to include
# also one copy with all fields to the person filling the form. # also one copy with all fields to the person filling the form.
MAILS = { MAILS = {
'IT': { # 'IT': {
'MAIL': 'wmde-it@wikimedia.de', # 'MAIL': 'wmde-it@wikimedia.de',
'DATA': [ # 'DATA': [
'laptop_id', # 'laptop_id',
'email', # 'email',
'forward', # 'forward',
'forwardemail', # 'forwardemail',
'documents', # 'documents',
'documentowner', # 'documentowner',
'mobile', # 'mobile',
'sim', # 'sim',
'special_logins', # 'special_logins',
'hardware', # 'hardware',
], # ],
}, #},
'OFFICE': { 'OFFICE': {
'MAIL': 'office@wikimedia.de', 'MAIL': 'marike.vossbeck@wikimedia.de',
'DATA': [ 'DATA': [
'transponder_id', 'transponder_id',
], ],
}, },
'KOMM': { 'KOMM': {
'MAIL': 'presse@wikimedia.de', 'MAIL': 'marike.vossbeck@wikimedia.de',
'DATA': [ 'DATA': [
'email', 'email',
'website', 'website',
], ],
}, },
'CENTRAL': { #'CENTRAL': {
'MAIL': 'krisztina.nagy@wikimedia.de', # 'MAIL': 'krisztina.nagy@wikimedia.de',
'DATA': [ # 'DATA': [
'sim' # 'sim'
], # ],
}, #},
'HR': { #'HR': {
'MAIL': 'personal@wikimedia.de', # 'MAIL': 'personal@wikimedia.de',
'DATA': [ # 'DATA': [
'overtime', # 'overtime',
'holiday', # 'holiday',
'pension', # 'pension',
'laptop_id', # 'laptop_id',
'hardware', # 'hardware',
'mobile', # 'mobile',
'sim', # 'sim',
'credit_card' # 'credit_card'
] # ]
}, #},
'FINANCE': { #'FINANCE': {
'MAIL': 'buchhaltung@wikimedia.de', # 'MAIL': 'buchhaltung@wikimedia.de',
'DATA': [ # 'DATA': [
'credit_card', # 'credit_card',
'bahncard', # 'bahncard',
'sim' # 'sim'
] # ]
}, #},
'SUBMITTER': { #'SUBMITTER': {
'MAIL': 'submitter@wikimedia.de', # 'MAIL': 'submitter@wikimedia.de',
'DATA': [ # 'DATA': [
'laptop_id', # 'laptop_id',
'email', # 'email',
'forward', # 'forward',
'forwardemail', # 'forwardemail',
'documents', # 'documents',
'documentowner', # 'documentowner',
'mobile', # 'mobile',
'sim', # 'sim',
'special_logins', # 'special_logins',
'hardware', # 'hardware',
'transponder_id', # 'transponder_id',
'website', # 'website',
'overtime', # 'overtime',
'holiday', # 'holiday',
'pension', ## 'pension',
'credit_card', # 'credit_card',
'bahncard', # 'bahncard',
'miscellaneous', # 'miscellaneous',
] # ]
} #}
} }

View File

@ -1,6 +1,6 @@
from django.urls import path from django.urls import path
from .views import EvaFormView, PDFPreviewView, success, long_process, change_process from .views import EvaFormView, success, long_process, change_process
urlpatterns = [ urlpatterns = [
path('', EvaFormView.as_view(condition_dict = {'1': long_process, path('', EvaFormView.as_view(condition_dict = {'1': long_process,
@ -14,4 +14,4 @@ urlpatterns = [
] ]
# this path is needed, when you wanna do pdf preview # this path is needed, when you wanna do pdf preview
#path('form/pdf-preview/', PDFPreviewView.as_view(), name='pdf-preview'), #path('form/pdf-preview/', PDFPreviewView.as_view(), name='pdf-preview'), also import PDFViewForm