forked from FoundKeyGang/FoundKey
client: display moved information on profile
This commit is contained in:
parent
c1f7ad0c14
commit
aa428bd1a4
2 changed files with 15 additions and 0 deletions
|
@ -829,6 +829,7 @@ oauthErrorGoBack: "An error happened while trying to authenticate a 3rd party ap
|
|||
\ Please go back and try again."
|
||||
appAuthorization: "App authorization"
|
||||
noPermissionsRequested: "(No permissions requested.)"
|
||||
movedTo: "This user has moved to {handle}."
|
||||
_emailUnavailable:
|
||||
used: "This email address is already being used"
|
||||
format: "The format of this email address is invalid"
|
||||
|
|
|
@ -9,6 +9,16 @@
|
|||
<div class="profile">
|
||||
<MkRemoteCaution v-if="user.host != null" :href="user.url" class="warn"/>
|
||||
|
||||
<MkInfo v-if="user.movedTo" class="moved">
|
||||
<I18n :src="i18n.ts.movedTo" tag="span">
|
||||
<template #handle>
|
||||
<MkA :to="userPage(user.movedTo)" style="color: var(--accent);">
|
||||
<MkAcct :user="user.movedTo"/>
|
||||
</MkA>
|
||||
</template>
|
||||
</I18n>
|
||||
</MkInfo>
|
||||
|
||||
<div :key="user.id" class="_block main">
|
||||
<div class="banner-container" :style="style">
|
||||
<div ref="bannerEl" class="banner" :style="style"></div>
|
||||
|
@ -193,6 +203,10 @@ onUnmounted(() => {
|
|||
|
||||
> .profile {
|
||||
|
||||
> .moved {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
> .main {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
|
Loading…
Reference in a new issue