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",
|
||||
"following": "Following",
|
||||
"shouted": "Shouted",
|
||||
"commented": "Commented"
|
||||
"commented": "Commented",
|
||||
"socialMedia": "Where else can I find"
|
||||
},
|
||||
"search": {
|
||||
"placeholder": "Search",
|
||||
|
||||
@ -203,6 +203,10 @@
|
||||
</template>
|
||||
</ds-card>
|
||||
<ds-space />
|
||||
<ds-space
|
||||
v-if="user.socialMedia && user.socialMedia.length"
|
||||
margin="x-small"
|
||||
/>
|
||||
<ds-card style="position: relative; height: auto;">
|
||||
<ds-space
|
||||
v-if="user.socialMedia && user.socialMedia.length"
|
||||
@ -212,7 +216,7 @@
|
||||
tag="h5"
|
||||
color="soft"
|
||||
>
|
||||
Where else can I find {{ user.name | truncate(15) }}?
|
||||
{{ $t('profile.socialMedia') }} {{ user.name | truncate(15) }}?
|
||||
</ds-text>
|
||||
<template v-if="user.socialMedia && user.socialMedia.length">
|
||||
<ds-space
|
||||
@ -221,10 +225,10 @@
|
||||
margin="x-small"
|
||||
>
|
||||
<!-- TODO: find better solution for rendering errors -->
|
||||
<ds-avatar
|
||||
:image="link.favicon"
|
||||
/>
|
||||
<a :href="link.url">
|
||||
<ds-avatar
|
||||
:image="link.favicon"
|
||||
/>
|
||||
{{ link.username }}
|
||||
</a>
|
||||
</ds-space>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user