change link text when email is verified

This commit is contained in:
MaysWind
2023-09-09 21:33:17 +08:00
parent d2297b882f
commit 205363dd42
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -821,6 +821,7 @@ export default {
'Log In': 'Log In',
'Click here to log in': 'Click here to log in',
'Back to log in': 'Back to log in',
'Back to home': 'Back to home',
'Don\'t have an account?': 'Don\'t have an account?',
'Forget Password?': 'Forget Password?',
'Create an account': 'Create an account',
+1
View File
@@ -821,6 +821,7 @@ export default {
'Log In': '登录',
'Click here to log in': '点击这里登录',
'Back to log in': '返回登录页',
'Back to home': '返回首页',
'Don\'t have an account?': '还没有账号?',
'Forget Password?': '忘记密码?',
'Create an account': '创建新账号',
+3 -2
View File
@@ -60,10 +60,11 @@
</v-col>
<v-col cols="12">
<router-link class="d-flex align-center justify-center" to="/login"
<router-link class="d-flex align-center justify-center" :to="verified ? '/' : '/login'"
:class="{ 'disabled': loading || resending }">
<v-icon :icon="icons.left"/>
<span>{{ $t('Back to log in') }}</span>
<span v-if="!verified">{{ $t('Back to log in') }}</span>
<span v-else-if="verified">{{ $t('Back to home') }}</span>
</router-link>
</v-col>
</v-row>