From f1fb68a569a7198471d60eebe794ce7adb2098df Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Sat, 17 Nov 2012 20:02:16 +0100 Subject: [PATCH] #375: Missing translation of participant type in participant PDF list. (Now get_type_display() is used.) --- openslides/participant/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/participant/views.py b/openslides/participant/views.py index b1131ee5c..0c06c0c13 100644 --- a/openslides/participant/views.py +++ b/openslides/participant/views.py @@ -269,7 +269,7 @@ class ParticipantsListPDF(PDFView): Paragraph(user.last_name, stylesheet['Tablecell']), Paragraph(user.first_name, stylesheet['Tablecell']), Paragraph(user.detail, stylesheet['Tablecell']), - Paragraph(user.type, stylesheet['Tablecell']), + Paragraph(user.get_type_display(), stylesheet['Tablecell']), Paragraph(user.committee, stylesheet['Tablecell'])]) t = LongTable(data, style=[ ('VALIGN', (0, 0), (-1, -1), 'TOP'),