Add load org before request to allow current_org to be accessible from request context

This commit is contained in:
Ken Tsang
2018-02-13 16:40:04 +00:00
committed by chrisw
parent 96b66829a1
commit c1e3658a8f
5 changed files with 28 additions and 8 deletions

View File

@@ -1,17 +1,17 @@
{% extends "org_template.html" %}
{% block per_page_title %}
{{ organisation['name'] }}
{{ current_org.name }}
{% endblock %}
{% block service_page_title %}
{{ organisation['name'] }}
{{ current_org.name }}
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">
{{ organisation['name'] }}
{{ current_org.name }}
</h1>
<ul>
{% for service in organisation_services %}