From 9a925ee141f383fb0461d482c749757d3a5b929e Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 25 Feb 2020 10:20:29 +0100 Subject: [PATCH] Update --- app/templates/jobs/job.html.j2 | 2 +- app/templates/nopaque.html.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/jobs/job.html.j2 b/app/templates/jobs/job.html.j2 index a5fe6924..c4db01b4 100644 --- a/app/templates/jobs/job.html.j2 +++ b/app/templates/jobs/job.html.j2 @@ -1,6 +1,6 @@ {% extends "nopaque.html.j2" %} -{% set title = 'Job'.format(service=job.service) %} +{% set headline = 'Job'.format(service=job.service) %} {% block page_content %}
diff --git a/app/templates/nopaque.html.j2 b/app/templates/nopaque.html.j2 index c7326544..1eedb03b 100644 --- a/app/templates/nopaque.html.j2 +++ b/app/templates/nopaque.html.j2 @@ -7,7 +7,7 @@ nopaque - {% if title and not url_for(request.endpoint) == url_for('main.index') %} + {% if title and request.path != url_for('main.index') %} – {{ title }} {% endif %}