diff options
author | =Corey Hulen <corey@hulen.com> | 2015-09-16 20:16:42 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-09-16 20:16:42 -0700 |
commit | 435211870096f6d31378c1b31c3d0818a7a4e710 (patch) | |
tree | e3333b09ae6aec7d40b641a09969160449ebea74 | |
parent | abda39b6523f2563d4663036f13ad1c24dac161e (diff) | |
download | chat-435211870096f6d31378c1b31c3d0818a7a4e710.tar.gz chat-435211870096f6d31378c1b31c3d0818a7a4e710.tar.bz2 chat-435211870096f6d31378c1b31c3d0818a7a4e710.zip |
Adding version to UI
-rw-r--r-- | config/config.json | 1 | ||||
-rw-r--r-- | web/react/components/user_settings_developer.jsx | 13 |
2 files changed, 13 insertions, 1 deletions
diff --git a/config/config.json b/config/config.json index 4c4fbb255..f0b859fad 100644 --- a/config/config.json +++ b/config/config.json @@ -13,7 +13,6 @@ "AllowTesting" : false, "UseSSL": false, "Port": "8065", - "Version": "developer", "Shards": { }, "InviteSalt": "gxHVDcKUyP2y1eiyW8S8na1UYQAfq6J6", diff --git a/web/react/components/user_settings_developer.jsx b/web/react/components/user_settings_developer.jsx index 1b04149dc..3e75e7ad8 100644 --- a/web/react/components/user_settings_developer.jsx +++ b/web/react/components/user_settings_developer.jsx @@ -77,6 +77,19 @@ export default class DeveloperTab extends React.Component { <h3 className='tab-header'>{'Developer Settings'}</h3> <div className='divider-dark first'/> {appSection} + <div className='divider-dark first'/> + <ul + className='section-min' + > + <li className='col-sm-10 section-title'>{'Version'}</li> + <li className='col-sm-7 section-describe'> + { + global.window.config.Version + ' (' + + global.window.config.BuildNumber + '/' + + global.window.config.BuildDate + ')' + } + </li> + </ul> <div className='divider-dark'/> </div> </div> |