Only the python version should be shown in the about dialog. #8249

pull/8336/head
Rohit Bhati 2025-01-03 20:49:56 +05:30 committed by GitHub
parent 6dab60d9e4
commit b22bfdf74b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ def index():
info['version'] = config.APP_VERSION
info['admin'] = admin
info['current_user'] = current_user.email
info['python_version'] = sys.version
info['python_version'] = sys.version.split(" ", maxsplit=1)[0]
if admin:
settings = ""

View File

@ -51,7 +51,7 @@ export default function AboutComponent() {
</Grid>
<Grid container spacing={0} style={{marginBottom: '8px'}}>
<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 item lg={9} md={9} sm={9} xs={12}>
<InputLabel>{aboutData.commit_hash}</InputLabel>
@ -59,7 +59,7 @@ export default function AboutComponent() {
</Grid>
<Grid container spacing={0} style={{marginBottom: '8px'}}>
<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 item lg={9} md={9} sm={9} xs={12}>
<InputLabel>{aboutData.python_version}</InputLabel>