Skip to content

Commit

Permalink
Show only the python version in the about dialog of pgAdmin. #8249
Browse files Browse the repository at this point in the history
  • Loading branch information
RohitBhati8269 committed Jan 3, 2025
1 parent 657bf08 commit 01415c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/pgadmin/about/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down
4 changes: 2 additions & 2 deletions web/pgadmin/about/static/js/AboutComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ 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>
</Grid>
</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>
Expand Down

0 comments on commit 01415c7

Please sign in to comment.