diff --git a/app/navigation.py b/app/navigation.py index cf5b5b715..281b8173e 100644 --- a/app/navigation.py +++ b/app/navigation.py @@ -330,9 +330,7 @@ class HeaderNavigation(Navigation): # header HTML now comes from GOVUK Frontend so requires a boolean, not an attribute def is_selected(self, navigation_item): - if request.endpoint in self.mapping[navigation_item]: - return True - return False + return request.endpoint in self.mapping[navigation_item] class MainNavigation(Navigation): diff --git a/app/templates/admin_template.html b/app/templates/admin_template.html index b7d0ada02..90449c552 100644 --- a/app/templates/admin_template.html +++ b/app/templates/admin_template.html @@ -139,9 +139,9 @@ ] %} {% if current_service and current_service.research_mode %} - {% set meta_suffix = 'Built by the Government Digital Serviceresearch mode' %} + {% set meta_suffix = 'Built by the Government Digital Serviceresearch mode' %} {% else %} - {% set meta_suffix = 'Built by the Government Digital Service' %} + {% set meta_suffix = 'Built by the Government Digital Service' %} {% endif %} {{ notify_footer({