|
|
@ -78,7 +78,7 @@ class Project(Volunteer): |
|
|
|
cost = models.IntegerField(blank=True, null=True) |
|
|
|
account = models.ForeignKey('Account', on_delete=models.CASCADE, null=True, to_field='code', db_constraint = False) |
|
|
|
granted_from = models.CharField(max_length=100,null=True,verbose_name='Bewilligt von') |
|
|
|
notes = models.CharField(max_length=1000,null=True,blank=True,verbose_name='Anmerkungen') |
|
|
|
notes = models.TextField(max_length=1000,null=True,blank=True,verbose_name='Anmerkungen') |
|
|
|
|
|
|
|
# the following Fields are not supposed to be edited by users |
|
|
|
pid = models.CharField(max_length=15, null=True, blank=True) |
|
|
@ -152,14 +152,14 @@ class Travel(Intern): |
|
|
|
checkout = models.DateField(blank=True, null=True, verbose_name='Check Out') |
|
|
|
payed_for_hotel_by = models.CharField(max_length=4, choices=PAYEDBY_CHOICES.items(), blank=True, null=True, verbose_name='Kostenauslage Hotel durch') |
|
|
|
payed_for_travel_by = models.CharField(max_length=4, choices=PAYEDBY_CHOICES.items(), blank=True, null=True, verbose_name='Kostenauslage Fahrt durch') |
|
|
|
notes = models.CharField(max_length=500, blank=True) |
|
|
|
notes = models.TextField(max_length=1000, blank=True) |
|
|
|
|
|
|
|
|
|
|
|
#abstract base class for Library and IFG |
|
|
|
class Grant(Extern): |
|
|
|
cost = models.CharField(max_length=10, verbose_name='Kosten', |
|
|
|
help_text="Bitte gib die ungefähr zu erwartenden Kosten in Euro an.") |
|
|
|
notes = models.TextField(max_length=500, blank=True, verbose_name='Anmerkungen', |
|
|
|
notes = models.TextField(max_length=1000, blank=True, verbose_name='Anmerkungen', |
|
|
|
help_text="Bitte gib an wofür Du das Stipendium verwenden willst.") |
|
|
|
|
|
|
|
class Meta: |
|
|
@ -265,5 +265,8 @@ class BusinessCard(Extern): |
|
|
|
default='NOPIC', verbose_name='Variante', |
|
|
|
help_text=format_html('so sehen die Varianten aus: <a href="https://upload.wikimedia.org/wikipedia/commons/c/cd/Muster_Visitenkarten_WMDE_2018.jpg">\ |
|
|
|
mit Bild</a> <a href="https://upload.wikimedia.org/wikipedia/commons/d/d3/Muster_Visitenkarte_WMDE.png">ohne Bild</a>' )) |
|
|
|
|
|
|
|
url_of_pic = models.CharField(max_length=200, verbose_name='Url des Bildes', default='', help_text="Bitte gib die Wikimedia-Commons-URL des Bildes an.") |
|
|
|
|
|
|
|
sent_to = models.TextField(max_length=1000, verbose_name='Versandadresse', |
|
|
|
default='', help_text="Bitte gib den Namen und die vollständige Adresse ein, an welche die Visitenkarten geschickt werden sollen.") |