fixed custom logo path stuff to work with server

This commit is contained in:
John Mitchell
2015-09-25 16:58:31 -04:00
parent a3410920a9
commit f1f9f5f982
2 changed files with 3 additions and 2 deletions

View File

@@ -111,7 +111,8 @@ export default ['$log', '$cookieStore', '$compile', '$window', '$rootScope', '$l
setLoginFocus();
});
scope.customLogo = $AnsibleConfig.custom_logo || "tower_console_logo.png";
scope.customLogo = ($AnsibleConfig.custom_logo) ? "custom_console_logo.png" : "tower_console_logo.png";
scope.customLoginInfo = $AnsibleConfig.custom_login_info;
scope.customLoginInfoPresent = (scope.customLoginInfo) ? true : false;