mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
add clickedCount to PostTeaser
This commit is contained in:
parent
4611e298f5
commit
d3eafc9b69
@ -34,6 +34,11 @@
|
|||||||
:count="post.commentsCount"
|
:count="post.commentsCount"
|
||||||
:title="$t('contribution.amount-comments', { amount: post.commentsCount })"
|
:title="$t('contribution.amount-comments', { amount: post.commentsCount })"
|
||||||
/>
|
/>
|
||||||
|
<counter-icon
|
||||||
|
icon="eye"
|
||||||
|
:count="post.clickedCount"
|
||||||
|
:title="$t('contribution.amount-clicks', { amount: post.clickedCount })"
|
||||||
|
/>
|
||||||
<client-only>
|
<client-only>
|
||||||
<content-menu
|
<content-menu
|
||||||
resource-type="contribution"
|
resource-type="contribution"
|
||||||
|
|||||||
@ -67,6 +67,7 @@ export const postCountsFragment = gql`
|
|||||||
shoutedCount
|
shoutedCount
|
||||||
shoutedByCurrentUser
|
shoutedByCurrentUser
|
||||||
emotionsCount
|
emotionsCount
|
||||||
|
clickedCount
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|||||||
@ -174,6 +174,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"contribution": {
|
"contribution": {
|
||||||
|
"amount-clicks": "{amount} clicks",
|
||||||
"amount-comments": "{amount} comments",
|
"amount-comments": "{amount} comments",
|
||||||
"amount-shouts": "{amount} recommendations",
|
"amount-shouts": "{amount} recommendations",
|
||||||
"categories": {
|
"categories": {
|
||||||
|
|||||||
@ -174,6 +174,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"contribution": {
|
"contribution": {
|
||||||
|
"amount-clicks": "{amount} clicks",
|
||||||
"amount-comments": "{amount} comments",
|
"amount-comments": "{amount} comments",
|
||||||
"amount-shouts": "{amount} recommendations",
|
"amount-shouts": "{amount} recommendations",
|
||||||
"categories": {
|
"categories": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user