mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge pull request #153 from gradido/90-Show-release-version-in-frontend
90 show release version in frontend
This commit is contained in:
commit
1d81c7e472
@ -1,4 +1,5 @@
|
|||||||
LOGIN_API_URL=http://localhost/login_api/
|
LOGIN_API_URL=http://localhost/login_api/
|
||||||
COMMUNITY_API_STATE_BALANCE_URL=http://localhost/state-balances/
|
COMMUNITY_API_STATE_BALANCE_URL=http://localhost/state-balances/
|
||||||
COMMUNITY_API_TRANSACTION_CREATION_URL=http://localhost/transaction-creations/
|
COMMUNITY_API_TRANSACTION_CREATION_URL=http://localhost/transaction-creations/
|
||||||
VUE_PATH=/vue
|
VUE_PATH=/vue
|
||||||
|
APP_VERSION=0
|
||||||
@ -7,6 +7,7 @@ const environment = {
|
|||||||
NODE_ENV: process.env.NODE_ENV,
|
NODE_ENV: process.env.NODE_ENV,
|
||||||
DEBUG: process.env.NODE_ENV !== 'production' || false,
|
DEBUG: process.env.NODE_ENV !== 'production' || false,
|
||||||
PRODUCTION: process.env.NODE_ENV === 'production' || false,
|
PRODUCTION: process.env.NODE_ENV === 'production' || false,
|
||||||
|
APP_VERSION: process.env.APP_VERSION || require('../../package.json').version,
|
||||||
}
|
}
|
||||||
|
|
||||||
const server = {
|
const server = {
|
||||||
|
|||||||
@ -5,6 +5,10 @@
|
|||||||
<div class="copyright text-center text-lg-center text-muted">
|
<div class="copyright text-center text-lg-center text-muted">
|
||||||
© {{ year }}
|
© {{ year }}
|
||||||
<a href="#/Login" class="font-weight-bold ml-1">Gradido-Akademie</a>
|
<a href="#/Login" class="font-weight-bold ml-1">Gradido-Akademie</a>
|
||||||
|
|
|
||||||
|
<a href="https://github.com/gradido/gradido/releases/latest" target="_blank">
|
||||||
|
App Verion {{ version }}
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
@ -32,10 +36,13 @@
|
|||||||
</footer>
|
</footer>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import CONFIG from '../../config'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
year: new Date().getFullYear(),
|
year: new Date().getFullYear(),
|
||||||
|
version: CONFIG.APP_VERSION,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user