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/
|
||||
COMMUNITY_API_STATE_BALANCE_URL=http://localhost/state-balances/
|
||||
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,
|
||||
DEBUG: 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 = {
|
||||
|
||||
@ -5,6 +5,10 @@
|
||||
<div class="copyright text-center text-lg-center text-muted">
|
||||
© {{ year }}
|
||||
<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>
|
||||
</b-col>
|
||||
</b-row>
|
||||
@ -32,10 +36,13 @@
|
||||
</footer>
|
||||
</template>
|
||||
<script>
|
||||
import CONFIG from '../../config'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
year: new Date().getFullYear(),
|
||||
version: CONFIG.APP_VERSION,
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user