File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2222from user_agents import parse
2323import platform
2424import re
25+ import sys
2526
2627MODULE_NAME = 'about'
2728
@@ -75,6 +76,7 @@ def index():
7576 info ['version' ] = config .APP_VERSION
7677 info ['admin' ] = admin
7778 info ['current_user' ] = current_user .email
79+ info ['python_version' ] = sys .version
7880
7981 if admin :
8082 settings = ""
Original file line number Diff line number Diff line change @@ -57,6 +57,14 @@ export default function AboutComponent() {
5757 < InputLabel > { aboutData . commit_hash } </ InputLabel >
5858 </ Grid >
5959 </ Grid >
60+ < Grid container spacing = { 0 } style = { { marginBottom : '8px' } } >
61+ < Grid item lg = { 3 } md = { 3 } sm = { 3 } xs = { 12 } >
62+ < InputLabel style = { { fontWeight : 'bold' } } > { gettext ( 'Python Version:' ) } </ InputLabel >
63+ </ Grid >
64+ < Grid item lg = { 9 } md = { 9 } sm = { 9 } xs = { 12 } >
65+ < InputLabel > { aboutData . python_version } </ InputLabel >
66+ </ Grid >
67+ </ Grid >
6068 < Grid container spacing = { 0 } style = { { marginBottom : '8px' } } >
6169 < Grid item lg = { 3 } md = { 3 } sm = { 3 } xs = { 12 } >
6270 < InputLabel style = { { fontWeight : 'bold' } } > { gettext ( 'Current User' ) } </ InputLabel >
You can’t perform that action at this time.
0 commit comments