Only the python version should be shown in the about dialog. #8249
parent
6dab60d9e4
commit
b22bfdf74b
|
@ -76,7 +76,7 @@ def index():
|
||||||
info['version'] = config.APP_VERSION
|
info['version'] = config.APP_VERSION
|
||||||
info['admin'] = admin
|
info['admin'] = admin
|
||||||
info['current_user'] = current_user.email
|
info['current_user'] = current_user.email
|
||||||
info['python_version'] = sys.version
|
info['python_version'] = sys.version.split(" ", maxsplit=1)[0]
|
||||||
|
|
||||||
if admin:
|
if admin:
|
||||||
settings = ""
|
settings = ""
|
||||||
|
|
|
@ -51,7 +51,7 @@ export default function AboutComponent() {
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid container spacing={0} style={{marginBottom: '8px'}}>
|
<Grid container spacing={0} style={{marginBottom: '8px'}}>
|
||||||
<Grid item lg={3} md={3} sm={3} xs={12}>
|
<Grid item lg={3} md={3} sm={3} xs={12}>
|
||||||
<InputLabel style={{fontWeight: 'bold'}}>{gettext('Commit:')}</InputLabel>
|
<InputLabel style={{fontWeight: 'bold'}}>{gettext('Commit')}</InputLabel>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item lg={9} md={9} sm={9} xs={12}>
|
<Grid item lg={9} md={9} sm={9} xs={12}>
|
||||||
<InputLabel>{aboutData.commit_hash}</InputLabel>
|
<InputLabel>{aboutData.commit_hash}</InputLabel>
|
||||||
|
@ -59,7 +59,7 @@ export default function AboutComponent() {
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid container spacing={0} style={{marginBottom: '8px'}}>
|
<Grid container spacing={0} style={{marginBottom: '8px'}}>
|
||||||
<Grid item lg={3} md={3} sm={3} xs={12}>
|
<Grid item lg={3} md={3} sm={3} xs={12}>
|
||||||
<InputLabel style={{fontWeight: 'bold'}}>{gettext('Python Version:')}</InputLabel>
|
<InputLabel style={{fontWeight: 'bold'}}>{gettext('Python Version')}</InputLabel>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item lg={9} md={9} sm={9} xs={12}>
|
<Grid item lg={9} md={9} sm={9} xs={12}>
|
||||||
<InputLabel>{aboutData.python_version}</InputLabel>
|
<InputLabel>{aboutData.python_version}</InputLabel>
|
||||||
|
|
Loading…
Reference in New Issue