diff --git a/app/templates/content_template.html b/app/templates/content_template.html index 7585b944c8..ec164882a2 100644 --- a/app/templates/content_template.html +++ b/app/templates/content_template.html @@ -1,4 +1,4 @@ -{% extends "withoutnav_template.html" %} +{% extends "admin_template.html" %} {% from "components/sub-navigation.html" import sub_navigation %} @@ -6,23 +6,31 @@ {{ content_page_title }} {% endblock %} -{% block maincolumn_content %} - -
- - {% if navigation_links and navigation_label_prefix %} +{% block main %} +
+ {% block beforeContent %} + {% if current_service and current_service.active and current_user.is_authenticated and current_user.belongs_to_service(current_service.id) %} + + {% endif %} + {% block backLink %}{% endblock %} + {% endblock %} +
+ {% if navigation_links and navigation_label_prefix %}
{{ sub_navigation(navigation_links, navigation_label_prefix) }}
- {% else %} + {% else %}
- {% endif %} - - {% block content_column_content %} - {% endblock %} - + {% endif %} +
+ {% block content %} + {% block content_column_content %}{% endblock %} + {% endblock %} +
+
- {% endblock %}