#112: Use monotype for printing first time password
This commit is contained in:
parent
df8b3a98b7
commit
1a4a748e6c
@ -546,8 +546,8 @@ class ParticipantsPasswordsPDF(PDFView):
|
|||||||
cell.append(Paragraph(_("Your Account for OpenSlides"), stylesheet['Ballot_title']))
|
cell.append(Paragraph(_("Your Account for OpenSlides"), stylesheet['Ballot_title']))
|
||||||
cell.append(Paragraph(_("for %s") % (user.profile), stylesheet['Ballot_subtitle']))
|
cell.append(Paragraph(_("for %s") % (user.profile), stylesheet['Ballot_subtitle']))
|
||||||
cell.append(Spacer(0,0.5*cm))
|
cell.append(Spacer(0,0.5*cm))
|
||||||
cell.append(Paragraph(_("User: %s") % (user.username), stylesheet['Ballot_option']))
|
cell.append(Paragraph(_("User: %s") % (user.username), stylesheet['Monotype']))
|
||||||
cell.append(Paragraph(_("Password: %s") % (user.profile.firstpassword), stylesheet['Ballot_option']))
|
cell.append(Paragraph(_("Password: %s") % (user.profile.firstpassword), stylesheet['Monotype']))
|
||||||
cell.append(Spacer(0,0.5*cm))
|
cell.append(Spacer(0,0.5*cm))
|
||||||
cell.append(Paragraph(_("URL: %s") % (participant_pdf_system_url), stylesheet['Ballot_option']))
|
cell.append(Paragraph(_("URL: %s") % (participant_pdf_system_url), stylesheet['Ballot_option']))
|
||||||
cell.append(Spacer(0,0.5*cm))
|
cell.append(Spacer(0,0.5*cm))
|
||||||
|
@ -149,6 +149,13 @@ stylesheet.add(ParagraphStyle(name = 'Ballot_option',
|
|||||||
leading = 24,
|
leading = 24,
|
||||||
leftIndent = 30),
|
leftIndent = 30),
|
||||||
)
|
)
|
||||||
|
stylesheet.add(ParagraphStyle(name = 'Monotype',
|
||||||
|
parent = stylesheet['Normal'],
|
||||||
|
fontName = 'Courier',
|
||||||
|
fontSize = 12,
|
||||||
|
leading = 24,
|
||||||
|
leftIndent = 30),
|
||||||
|
)
|
||||||
stylesheet.add(ParagraphStyle(name = 'Ballot_option_name',
|
stylesheet.add(ParagraphStyle(name = 'Ballot_option_name',
|
||||||
parent = stylesheet['Normal'],
|
parent = stylesheet['Normal'],
|
||||||
fontSize = 12,
|
fontSize = 12,
|
||||||
|
Loading…
Reference in New Issue
Block a user