mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Added author location to quick user preview
This commit is contained in:
parent
662589e995
commit
c156bcedc9
@ -54,9 +54,20 @@
|
||||
<hc-badges
|
||||
v-if="author.badges && author.badges.length"
|
||||
:badges="author.badges"
|
||||
style="margin-bottom: -10px"
|
||||
/>
|
||||
<ds-flex>
|
||||
<ds-text
|
||||
v-if="author.location"
|
||||
align="center"
|
||||
color="soft"
|
||||
size="small"
|
||||
style="margin-top: 5px"
|
||||
bold
|
||||
>
|
||||
<ds-icon name="map-marker" /> {{ author.location.name }}
|
||||
</ds-text>
|
||||
<ds-flex
|
||||
style="margin-top: -10px"
|
||||
>
|
||||
<ds-flex-item class="ds-tab-nav-item">
|
||||
<ds-space margin="small">
|
||||
<ds-number
|
||||
|
||||
@ -70,6 +70,9 @@ export default gql(`
|
||||
id
|
||||
avatar
|
||||
name
|
||||
location {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -97,6 +97,9 @@ export default {
|
||||
shoutedCount
|
||||
commentsCount
|
||||
followedByCount
|
||||
location {
|
||||
name
|
||||
}
|
||||
badges {
|
||||
id
|
||||
key
|
||||
|
||||
@ -161,6 +161,9 @@ export default {
|
||||
contributionsCount
|
||||
commentsCount
|
||||
followedByCount
|
||||
location {
|
||||
name
|
||||
}
|
||||
badges {
|
||||
id
|
||||
key
|
||||
@ -185,6 +188,9 @@ export default {
|
||||
contributionsCount
|
||||
commentsCount
|
||||
followedByCount
|
||||
location {
|
||||
name
|
||||
}
|
||||
badges {
|
||||
id
|
||||
key
|
||||
|
||||
@ -107,6 +107,9 @@ export default {
|
||||
contributionsCount
|
||||
followedByCount
|
||||
commentsCount
|
||||
location {
|
||||
name
|
||||
}
|
||||
badges {
|
||||
id
|
||||
key
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user