mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
39 lines
922 B
Vue
39 lines
922 B
Vue
<template>
|
|
<ds-space centered margin="xxx-small">
|
|
<ds-space margin-bottom="small" />
|
|
<ds-heading tag="h4">
|
|
{{ $t('contribution.comment.commenting-disabled.blocked-author.reason') }}
|
|
</ds-heading>
|
|
<ds-text>
|
|
{{ $t('contribution.comment.commenting-disabled.blocked-author.call-to-action') }}
|
|
</ds-text>
|
|
<nuxt-link :to="authorLink">
|
|
<base-button icon="arrow-right" filled>
|
|
{{
|
|
$t('contribution.comment.commenting-disabled.blocked-author.button-label', {
|
|
name: author.name,
|
|
})
|
|
}}
|
|
</base-button>
|
|
</nuxt-link>
|
|
</ds-space>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'CtaUnblockAuthor',
|
|
props: {
|
|
author: {
|
|
type: Object,
|
|
require: true,
|
|
},
|
|
},
|
|
computed: {
|
|
authorLink() {
|
|
const { id, slug } = this.author
|
|
return { name: 'profile-id-slug', params: { slug, id } }
|
|
},
|
|
},
|
|
}
|
|
</script>
|