Disable updating/deleting group posts and discussions for non-moderators

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-10-22 09:37:30 +02:00
parent 739516d2fd
commit e754e1172a
7 changed files with 39 additions and 18 deletions

View File

@@ -33,7 +33,7 @@
$options.filters.formatDateTimeString(new Date(post.insertedAt), false)
}}</small>
<small class="has-text-grey" v-if="isCurrentActorMember">{{
$t("Created by {username}", { username: usernameWithDomain(post.author) })
$t("Created by {username}", { username: `@${usernameWithDomain(post.author)}` })
}}</small>
</div>
</div>