2021-07-06 17:05:35 +02:00
|
|
|
<template>
|
2021-09-24 20:08:48 +02:00
|
|
|
<modal
|
|
|
|
@close="$router.back()"
|
|
|
|
transition-name="fade"
|
|
|
|
variant="hint-modal"
|
|
|
|
>
|
|
|
|
<card
|
2021-11-13 15:13:56 +01:00
|
|
|
class="has-no-shadow"
|
|
|
|
:title="$t('about.title')"
|
|
|
|
:has-close="true"
|
|
|
|
@close="$router.back()"
|
|
|
|
:padding="false"
|
|
|
|
>
|
|
|
|
<div class="p-4">
|
|
|
|
<p>
|
|
|
|
{{ $t('about.frontendVersion', {version: this.frontendVersion}) }}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{{ $t('about.apiVersion', {version: this.apiVersion}) }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<footer class="modal-card-foot is-flex is-justify-content-flex-end">
|
|
|
|
<x-button
|
|
|
|
type="secondary"
|
|
|
|
@click.prevent.stop="$router.back()"
|
|
|
|
>
|
|
|
|
{{ $t('misc.close') }}
|
|
|
|
</x-button>
|
|
|
|
</footer>
|
|
|
|
</card>
|
2021-09-24 20:08:48 +02:00
|
|
|
</modal>
|
|
|
|
|
2021-07-06 17:05:35 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import {VERSION} from '../version.json'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'About',
|
|
|
|
computed: {
|
|
|
|
frontendVersion() {
|
|
|
|
return VERSION
|
|
|
|
},
|
|
|
|
apiVersion() {
|
|
|
|
return this.$store.state.config.version
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|