|
@ -22,7 +22,7 @@ class ProjectForm(FdbForm): |
|
|
class Meta: |
|
|
class Meta: |
|
|
model = Project |
|
|
model = Project |
|
|
exclude = ('pid', 'granted', 'granted_date', 'realname', 'email',\ |
|
|
exclude = ('pid', 'granted', 'granted_date', 'realname', 'email',\ |
|
|
'end_mail_send', 'status', 'persons') |
|
|
|
|
|
|
|
|
'end_mail_send', 'status', 'persons', 'survey_mail_date') |
|
|
widgets = {'start': AdminDateWidget(), |
|
|
widgets = {'start': AdminDateWidget(), |
|
|
'end': AdminDateWidget(),} |
|
|
'end': AdminDateWidget(),} |
|
|
|
|
|
|
|
@ -37,7 +37,7 @@ class ExternForm(FdbForm): |
|
|
|
|
|
|
|
|
class Meta: |
|
|
class Meta: |
|
|
model = Extern |
|
|
model = Extern |
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send', 'service_id') |
|
|
|
|
|
|
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send', 'service_id', 'survey_mail_date') |
|
|
|
|
|
|
|
|
INTERN_CHOICES = {'PRO': 'Projektsteckbrief', |
|
|
INTERN_CHOICES = {'PRO': 'Projektsteckbrief', |
|
|
'HON': 'Ehrenamtsbescheinigung, Akkreditierung oder Redaktionsbestätigung', |
|
|
'HON': 'Ehrenamtsbescheinigung, Akkreditierung oder Redaktionsbestätigung', |
|
@ -49,13 +49,13 @@ class InternForm(FdbForm): |
|
|
|
|
|
|
|
|
class Meta: |
|
|
class Meta: |
|
|
model = Volunteer |
|
|
model = Volunteer |
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send') |
|
|
|
|
|
|
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send', 'survey_mail_date') |
|
|
|
|
|
|
|
|
class TravelForm(FdbForm): |
|
|
class TravelForm(FdbForm): |
|
|
# TODO: add some javascript to show/hide other-field |
|
|
# TODO: add some javascript to show/hide other-field |
|
|
class Meta: |
|
|
class Meta: |
|
|
model = Travel |
|
|
model = Travel |
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send', 'realname', 'email',) |
|
|
|
|
|
|
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send', 'realname', 'email', 'survey_mail_date') |
|
|
widgets = {'checkin': AdminDateWidget(), |
|
|
widgets = {'checkin': AdminDateWidget(), |
|
|
'checkout': AdminDateWidget(),} |
|
|
'checkout': AdminDateWidget(),} |
|
|
|
|
|
|
|
|