parent
ea7f80e6aa
commit
39f92391dc
File diff suppressed because one or more lines are too long
@ -3,6 +3,7 @@
|
|||||||
<h2 class="page_heading">{{ $t('sidebar.about') }}</h2>
|
<h2 class="page_heading">{{ $t('sidebar.about') }}</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>{{ $t('about.updates.currentVersion') }}: <span v-if="current">{{ current }}</span><span v-else>{{ $t('about.updates.versionNotAvailable') }}</span></li>
|
<li>{{ $t('about.updates.currentVersion') }}: <span v-if="current">{{ current }}</span><span v-else>{{ $t('about.updates.versionNotAvailable') }}</span></li>
|
||||||
|
<li>{{ $t('about.updates.deemixVersion') }}: {{ deemixVersion }}</li>
|
||||||
<li v-if="updateAvailable && latest">{{ $t('about.updates.updateAvailable', {version: latest}) }}</li>
|
<li v-if="updateAvailable && latest">{{ $t('about.updates.updateAvailable', {version: latest}) }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@ -206,14 +207,16 @@ export default {
|
|||||||
ethereum,
|
ethereum,
|
||||||
current: null,
|
current: null,
|
||||||
latest: null,
|
latest: null,
|
||||||
updateAvailable: false
|
updateAvailable: false,
|
||||||
|
deemixVersion: null
|
||||||
}),
|
}),
|
||||||
methods: {
|
methods: {
|
||||||
initUpdate(data){
|
initUpdate(data){
|
||||||
const { currentCommit, latestCommit, updateAvailable } = data
|
const { currentCommit, latestCommit, updateAvailable, deemixVersion } = data
|
||||||
this.current = currentCommit
|
this.current = currentCommit
|
||||||
this.latest = latestCommit
|
this.latest = latestCommit
|
||||||
this.updateAvailable = updateAvailable
|
this.updateAvailable = updateAvailable
|
||||||
|
this.deemixVersion = deemixVersion
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -44,7 +44,8 @@ const en = {
|
|||||||
updates: {
|
updates: {
|
||||||
currentVersion: 'Current Version',
|
currentVersion: 'Current Version',
|
||||||
versionNotAvailable: 'N/A',
|
versionNotAvailable: 'N/A',
|
||||||
updateAvailable: `You're not running the latest version available: {version}`
|
updateAvailable: `You're not running the latest version available: {version}`,
|
||||||
|
deemixVersion: 'deemix lib version'
|
||||||
},
|
},
|
||||||
titles: {
|
titles: {
|
||||||
usefulLinks: 'Useful Links',
|
usefulLinks: 'Useful Links',
|
||||||
|
@ -44,7 +44,8 @@ const it = {
|
|||||||
updates: {
|
updates: {
|
||||||
currentVersion: 'Versione corrente',
|
currentVersion: 'Versione corrente',
|
||||||
versionNotAvailable: 'N/A',
|
versionNotAvailable: 'N/A',
|
||||||
updateAvailable: `Non stai usando l'ultima versione disponibile: {version}`
|
updateAvailable: `Non stai usando l'ultima versione disponibile: {version}`,
|
||||||
|
deemixVersion: 'Versione libreria deemix'
|
||||||
},
|
},
|
||||||
titles: {
|
titles: {
|
||||||
usefulLinks: 'Link Utili',
|
usefulLinks: 'Link Utili',
|
||||||
|
Loading…
Reference in New Issue
Block a user