Titel bei Standard
This commit is contained in:
parent
232a225416
commit
f0d72785fc
Binary file not shown.
|
|
@ -873,7 +873,7 @@ def getStandardPDF(request, pk):
|
|||
userisingroup = True
|
||||
|
||||
if userisingroup:
|
||||
pdf = convert_html_to_pdf(standard.content, "final.pdf")
|
||||
pdf = convert_html_to_pdf("<h1>" + standard.name + "</h1><hr>" + standard.content, "final.pdf")
|
||||
return HttpResponse(pdf, content_type='application/pdf')
|
||||
else:
|
||||
messages.warning(request, f'Diesen Standard dürfen Sie nicht sehen!')
|
||||
|
|
|
|||
Loading…
Reference in New Issue