This commit is contained in:
2019-01-28 18:44:44 +00:00
parent 8df2d740cf
commit 4fa2989331
2 changed files with 12 additions and 0 deletions

View File

@@ -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

View File

@@ -27,6 +27,12 @@
<v-divider></v-divider>
<v-list two-line subheader>
<v-subheader>{{ lt("Server")}}</v-subheader>
<v-list-tile avatar>
<v-list-tile-content>
<v-list-tile-title>{{ lt("SERVER ADDRESS")}}</v-list-tile-title>
<v-list-tile-sub-title>{{ serverUrl() }}</v-list-tile-sub-title>
</v-list-tile-content>
</v-list-tile>
<v-list-tile avatar>
<v-list-tile-content>
<v-list-tile-title>{{ lt("Version")}}</v-list-tile-title>
@@ -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;
}
}
};