Skip to content
Snippets Groups Projects

Translations update from Weblate

Closed Weblate Push User requested to merge weblate into master
4 files
+ 90
12
Compare changes
  • Side-by-side
  • Inline
Files
4
<template>
<ApolloQuery
:query="require('./avatarContent.graphql')"
:variables="{'id': id}"
class="fullwidth"
>
<template #default="{ result: { error, data, loading } }">
<template v-if="loading">
<v-row
class="fill-height ma-0"
align="center"
justify="center"
>
<v-progress-circular
indeterminate
color="grey lighten-5"
></v-progress-circular>
</v-row>
</template>
<v-img
v-if="data && data.person && data.person.image"
:src="data.person.image"
:alt="$t('person.avatar')"
max-width="100%"
:contain="contain"
/>
<v-icon
class="grey lighten-1"
dark
v-else
>
mdi-folder
</v-icon>
</template>
</ApolloQuery>
</template>
<script>
export default {
name: "AvatarContent",
props: {
id: {
type: String,
required: false,
},
contain: {
type: Boolean,
required: false,
default: false
}
}
}
</script>
<style scoped>
.fullwidth {
width: 100%;
}
</style>
Loading