mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
add category name in tooltip
This commit is contained in:
parent
bb30d883b9
commit
a310c1fe83
@ -30,7 +30,10 @@
|
|||||||
v-for="category in post.categories"
|
v-for="category in post.categories"
|
||||||
:key="category.id"
|
:key="category.id"
|
||||||
v-tooltip="{
|
v-tooltip="{
|
||||||
content: $t(`contribution.category.description.${category.slug}`),
|
content: `
|
||||||
|
${$t(`contribution.category.name.${category.slug}`)}:
|
||||||
|
${$t(`contribution.category.description.${category.slug}`)}
|
||||||
|
`,
|
||||||
placement: 'bottom-start',
|
placement: 'bottom-start',
|
||||||
}"
|
}"
|
||||||
:icon="category.icon"
|
:icon="category.icon"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user