From 435211870096f6d31378c1b31c3d0818a7a4e710 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Wed, 16 Sep 2015 20:16:42 -0700 Subject: Adding version to UI --- config/config.json | 1 - web/react/components/user_settings_developer.jsx | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) 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 {

{'Developer Settings'}

{appSection} +
+
    +
  • {'Version'}
  • +
  • + { + global.window.config.Version + ' (' + + global.window.config.BuildNumber + '/' + + global.window.config.BuildDate + ')' + } +
  • +
-- cgit v1.2.3-1-g7c22