user?: User;
buildInfo?: string;
children?: ReactNode;
+ uuidPrefix: string;
+ siteBanner: string;
}
export type MainAppBarProps = MainAppBarDataProps & WithStyles<CssRules>;
<Toolbar className={props.classes.toolbar}>
<Grid container justify="space-between">
<Grid container item xs={3} direction="column" justify="center">
- <Typography variant="title" color="inherit" noWrap>
+ <Typography variant='h6' color="inherit" noWrap>
<Link to={Routes.ROOT} className={props.classes.link}>
- arvados workbench
+ <span dangerouslySetInnerHTML={{ __html: props.siteBanner }} /> ({props.uuidPrefix})
</Link>
</Typography>
<Typography variant="caption" color="inherit">{props.buildInfo}</Typography>
xs={6}
container
alignItems="center">
- {props.user && <SearchBar /> }
+ {props.user && props.user.isActive && <SearchBar />}
</Grid>
<Grid
item