mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Add translation, linkify avatar
This commit is contained in:
parent
60c56f8872
commit
8f32df2597
@ -15,7 +15,8 @@
|
|||||||
"followers": "Followers",
|
"followers": "Followers",
|
||||||
"following": "Following",
|
"following": "Following",
|
||||||
"shouted": "Shouted",
|
"shouted": "Shouted",
|
||||||
"commented": "Commented"
|
"commented": "Commented",
|
||||||
|
"socialMedia": "Where else can I find"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "Search",
|
"placeholder": "Search",
|
||||||
|
|||||||
@ -203,6 +203,10 @@
|
|||||||
</template>
|
</template>
|
||||||
</ds-card>
|
</ds-card>
|
||||||
<ds-space />
|
<ds-space />
|
||||||
|
<ds-space
|
||||||
|
v-if="user.socialMedia && user.socialMedia.length"
|
||||||
|
margin="x-small"
|
||||||
|
/>
|
||||||
<ds-card style="position: relative; height: auto;">
|
<ds-card style="position: relative; height: auto;">
|
||||||
<ds-space
|
<ds-space
|
||||||
v-if="user.socialMedia && user.socialMedia.length"
|
v-if="user.socialMedia && user.socialMedia.length"
|
||||||
@ -212,7 +216,7 @@
|
|||||||
tag="h5"
|
tag="h5"
|
||||||
color="soft"
|
color="soft"
|
||||||
>
|
>
|
||||||
Where else can I find {{ user.name | truncate(15) }}?
|
{{ $t('profile.socialMedia') }} {{ user.name | truncate(15) }}?
|
||||||
</ds-text>
|
</ds-text>
|
||||||
<template v-if="user.socialMedia && user.socialMedia.length">
|
<template v-if="user.socialMedia && user.socialMedia.length">
|
||||||
<ds-space
|
<ds-space
|
||||||
@ -221,10 +225,10 @@
|
|||||||
margin="x-small"
|
margin="x-small"
|
||||||
>
|
>
|
||||||
<!-- TODO: find better solution for rendering errors -->
|
<!-- TODO: find better solution for rendering errors -->
|
||||||
<ds-avatar
|
|
||||||
:image="link.favicon"
|
|
||||||
/>
|
|
||||||
<a :href="link.url">
|
<a :href="link.url">
|
||||||
|
<ds-avatar
|
||||||
|
:image="link.favicon"
|
||||||
|
/>
|
||||||
{{ link.username }}
|
{{ link.username }}
|
||||||
</a>
|
</a>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user