From c738772cd5cdd5d8c9101730031a567da232fba9 Mon Sep 17 00:00:00 2001 From: "Keith J. Grant" Date: Mon, 12 Apr 2021 09:45:43 -0700 Subject: [PATCH] translate brand logo alt text --- awx/ui_next/src/components/AppContainer/AppContainer.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/awx/ui_next/src/components/AppContainer/AppContainer.jsx b/awx/ui_next/src/components/AppContainer/AppContainer.jsx index 241175be36..ede56b2862 100644 --- a/awx/ui_next/src/components/AppContainer/AppContainer.jsx +++ b/awx/ui_next/src/components/AppContainer/AppContainer.jsx @@ -138,12 +138,13 @@ function AppContainer({ i18n, navRouteConfig = [], children }) { } }, [handleLogout, timeRemaining]); - const brandName = config?.license_info?.product_name || 'brand'; + const brandName = config?.license_info?.product_name; + const alt = brandName ? i18n._(t`${brandName} logo`) : i18n._(t`brand logo`); const header = ( } + logo={} logoProps={{ href: '/' }} headerTools={ } + logo={} headerTools={