diff --git a/openslides/assignment/models.py b/openslides/assignment/models.py index 4b0a214a6..edfd950b8 100644 --- a/openslides/assignment/models.py +++ b/openslides/assignment/models.py @@ -26,7 +26,7 @@ class Assignment(models.Model): name = models.CharField(max_length=100, verbose_name = _("Name")) description = models.TextField(null=True, blank=True, verbose_name = _("Description")) posts = models.PositiveSmallIntegerField(verbose_name = _("Number of available posts")) - polldescription = models.CharField(max_length=50, null=True, blank=True, verbose_name = _("Short description (for ballot paper)")) + polldescription = models.CharField(max_length=100, null=True, blank=True, verbose_name = _("Short description (for ballot paper)")) profile = models.ManyToManyField(Profile, null=True, blank=True) elected = models.ManyToManyField(Profile, null=True, blank=True, related_name='elected_set') status = models.CharField(max_length=1, choices=STATUS, default='sea') diff --git a/openslides/utils/pdf.py b/openslides/utils/pdf.py index ac73c31f8..1179d08f0 100755 --- a/openslides/utils/pdf.py +++ b/openslides/utils/pdf.py @@ -112,14 +112,15 @@ stylesheet.add(ParagraphStyle(name = 'Ballot_title', stylesheet.add(ParagraphStyle(name = 'Ballot_subtitle', parent = stylesheet['Normal'], fontSize = 10, - leading = 20, + leading = 12, leftIndent = 30, - rightIndent = 20), + rightIndent = 20, + spaceAfter = 5), ) stylesheet.add(ParagraphStyle(name = 'Ballot_description', parent = stylesheet['Normal'], fontSize = 7, - leading = 14, + leading = 10, leftIndent = 30), ) stylesheet.add(ParagraphStyle(name = 'Ballot_option',