From 8366a4c77281bddf6a687e42784e1b8f5cc739b9 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Wed, 24 Apr 2024 16:12:54 -0700 Subject: [PATCH] fix testing --- app/templates/withnav_template.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/templates/withnav_template.html b/app/templates/withnav_template.html index 7940f8bc2..5b85fcfef 100644 --- a/app/templates/withnav_template.html +++ b/app/templates/withnav_template.html @@ -1,8 +1,11 @@ {% extends "base.html" %} {% block per_page_title %} - {% block service_page_title %}{% endblock %}{% if current_service.name %} – {{ current_service.name }}{% endif %} - {% block org_page_title %}{% endblock %}{% if current_org.name %} – {{ current_org.name }}{% endif %} + {% if current_org.name %} + {% block org_page_title %}{% endblock %} – {{ current_org.name }} + {% else %} + {% block service_page_title %}{% endblock %} – {{ current_service.name }} + {% endif %} {% endblock %} {% block main %}