From f0d72785fc0828896296075c956d4629951d808e Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Wed, 16 Dec 2020 22:42:13 +0100 Subject: [PATCH] Titel bei Standard --- .../__pycache__/counter_tag.cpython-38.pyc | Bin 20244 -> 20244 bytes standards/views.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc b/standards/templatetags/__pycache__/counter_tag.cpython-38.pyc index 6b83b87a000cfbdf0deb4c8ad2b388da5f5912b2..d746e9aa8e8c3edb05544ed32e003fd85a314ccc 100644 GIT binary patch delta 21 bcmbO-k8#R8My^m^UM>b8I8(cki_0GXKL-Uz delta 21 bcmbO-k8#R8My^m^UM>b8cvG>Fi_0GXKduF0 diff --git a/standards/views.py b/standards/views.py index 29fe816..06edd3a 100644 --- a/standards/views.py +++ b/standards/views.py @@ -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("

" + standard.name + "


" + standard.content, "final.pdf") return HttpResponse(pdf, content_type='application/pdf') else: messages.warning(request, f'Diesen Standard dürfen Sie nicht sehen!')