Commit cf473888 authored by dario's avatar dario
Browse files

web: clarify and grammar-correct error message

it's now possible to give the header as template parameter as well, so
that english/german mixup is less likely
parent cc3e621a
......@@ -2,7 +2,7 @@
{% set title = 'Error' %}
{% block content %}
<h2>Fehler</h2>
<h2>{{ error_hdr }}</h2>
{{ error_text }}
......
......@@ -158,7 +158,8 @@ def send_pdf_file(request, pdffile):
direct_passthrough=True)
else:
return render_template('error.xml',
error_text='this file is available from the FAU internal network only',
error_hdr='Error',
error_text='This PDF file is available from the FAU internal network only',
theme=local.theme)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment