From 4fa2989331ed63128cc752e9cd36cc38920142da Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 28 Jan 2019 18:44:44 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 2 ++ ayanova/src/views/About.vue | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index dd64a18b..3d45c64c 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -20,6 +20,8 @@ TODO CLIENT STUFF - MISC + - Add lt for serveraddress + - About form should show the server address and have a copy to clipboard feature or save info or email info or whatever the fuck for support - Login needs to scroll higher or logo smaller on sm so that the keyboard doesn't obscure the login lines - Need a test user that has access to every possible role so that I can see all the roles for testing purposes - About page has too big of margins on each side of display diff --git a/ayanova/src/views/About.vue b/ayanova/src/views/About.vue index cbbc6077..b3c00565 100644 --- a/ayanova/src/views/About.vue +++ b/ayanova/src/views/About.vue @@ -27,6 +27,12 @@ {{ lt("Server")}} + + + {{ lt("SERVER ADDRESS")}} + {{ serverUrl() }} + + {{ lt("Version")}} @@ -106,6 +112,7 @@ import api from "../api/apiutil"; import aboutInfo from "../api/aboutinfo"; import lt from "../api/locale"; +import store from "../store"; export default { data() { return { @@ -151,6 +158,9 @@ export default { methods: { lt: function(key) { return lt.get(key); + }, + serverUrl() { + return store.state.apiUrl; } } };