Merge "Fix session.domain_context_name existence check"

This commit is contained in:
Zuul 2020-06-03 09:09:01 +00:00 committed by Gerrit Code Review
commit 23bf8367f1

View File

@ -2,7 +2,7 @@
{% block page_header %}
<div class='page-header'>
<h1>
{% if request.session.domain_context_name %}
{% if 'domain_context_name' in request.session %}
<em>{% blocktrans with context_name=request.session.domain_context_name %}{{ context_name }}:{% endblocktrans %}</em>
{% endif %}
{{ title }}