File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ import { verticalCenter } from 'stylesheets/base.scss';
15
15
export default class LoginForm extends React . Component {
16
16
render ( ) {
17
17
const customBrandIcon = window . CUSTOM_BRAND_ICON ;
18
+ const customBrandTitle = window . CUSTOM_BRAND_TITLE ;
18
19
return (
19
20
< div className = { styles . login } style = { { marginTop : this . props . marginTop || '-220px' } } >
20
21
{ ! customBrandIcon && < Icon width = { 80 } height = { 80 } name = 'infinity' fill = '#093A59' /> }
21
- { customBrandIcon && < img src = { 'appicons/' + customBrandIcon } width = { 80 } height = { 80 } alt = "Custom BRAND icon" /> }
22
+ { customBrandIcon && < img src = { 'appicons/' + customBrandIcon } width = { 80 } height = { 80 } alt = { customBrandTitle || 'Brand Logo' } /> }
22
23
< form method = 'post' ref = 'form' action = { this . props . endpoint } className = { styles . form } >
23
24
< CSRFInput />
24
25
< div className = { styles . header } > { this . props . header } </ div >
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default class SidebarHeader extends React.Component {
30
30
< div className = { styles . header } >
31
31
< Link className = { styles . logo } to = { { pathname : '/apps' } } >
32
32
{ ! customBrandIcon && < Icon width = { 28 } height = { 28 } name = 'infinity' fill = { '#ffffff' } /> }
33
- { customBrandIcon && < img src = { 'appicons/' + customBrandIcon } width = { 28 } height = { 28 } alt = "Custom BRAND icon" /> }
33
+ { customBrandIcon && < img src = { 'appicons/' + customBrandIcon } width = { 28 } height = { 28 } alt = { customBrandTitle || 'Brand Logo' } /> }
34
34
</ Link >
35
35
< Link to = '/apps' >
36
36
< div className = { styles . version } >
You can’t perform that action at this time.
0 commit comments