Titel bei Standard

This commit is contained in:
holger.trampe 2020-12-16 22:42:13 +01:00
parent 232a225416
commit f0d72785fc
2 changed files with 1 additions and 1 deletions

View File

@ -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!')