Move 2FAuth version to Settings footer

This commit is contained in:
Bubka
2020-10-03 19:30:52 +02:00
parent ddeab18df3
commit 2b6864f57c
3 changed files with 10 additions and 7 deletions

View File

@ -7,7 +7,10 @@
</div>
</div>
</div>
<div class="content has-text-centered">
<div v-if="$route.name === 'settings'" class="content has-text-centered is-size-6">
<a class="has-text-grey" href="https://github.com/Bubka/2FAuth"><b>2FAuth</b> <font-awesome-icon :icon="['fab', 'github-alt']" /></a> - v{{ $root.appVersion }}
</div>
<div v-else class="content has-text-centered">
<router-link :to="{ name: 'settings' }" class="has-text-grey">{{ $t('settings.settings') }}</router-link> - <a class="has-text-grey" @click="logout">{{ $t('auth.sign_out') }}</a>
</div>
</footer>