mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-12 23:17:03 +02:00
Remove version number from footer & About view if anon - Resolves #432
This commit is contained in:
@ -46,9 +46,11 @@
|
||||
<div v-else class="content has-text-centered">
|
||||
<div v-if="$route.meta.showAbout === true">
|
||||
<!-- about link -->
|
||||
<router-link id="lnkAbout" :to="{ name: 'about' }" class="has-text-grey">
|
||||
2FAuth – <span class="has-text-weight-bold">v{{ $2fauth.version }}</span>
|
||||
<router-link v-if="$route.name != 'about'" id="lnkAbout" :to="{ name: 'about' }" class="has-text-grey">
|
||||
<span v-if="user.isAuthenticated && $route.meta.watchedByKicker" class="has-text-weight-bold">2FAuth – v{{ $2fauth.version }}</span>
|
||||
<span v-else class="">{{ $t('commons.about') }}</span>
|
||||
</router-link>
|
||||
<span v-else> </span>
|
||||
</div>
|
||||
<!-- email + menu links -->
|
||||
<div v-else-if="user.preferences.showEmailInFooter">
|
||||
|
Reference in New Issue
Block a user