Allow members-restricted posts to be viewable by instance moderators
But add a warning message on top of the post Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -16,7 +16,7 @@ const groupDomain = "remotedomain.net";
|
||||
const groupUsername = `${groupPreferredUsername}@${groupDomain}`;
|
||||
|
||||
const defaultSlotText = "A list of elements";
|
||||
const createSlotButtonText = "+ Post a public message";
|
||||
const createSlotButtonText = "+ Create a post";
|
||||
|
||||
type Props = {
|
||||
title?: string;
|
||||
|
||||
@@ -8,7 +8,7 @@ exports[`GroupSection renders group section with basic informations 1`] = `
|
||||
<div class="main-slot">
|
||||
<div>A list of elements</div>
|
||||
</div>
|
||||
<div class="create-slot"><a href="/@my_group@remotedomain.net/p/new" class="button is-primary">+ Post a public message</a></div>
|
||||
<div class="create-slot"><a href="/@my_group@remotedomain.net/p/new" class="button is-primary">+ Create a post</a></div>
|
||||
</section>
|
||||
`;
|
||||
|
||||
@@ -20,6 +20,6 @@ exports[`GroupSection renders public group section 1`] = `
|
||||
<div class="main-slot">
|
||||
<div>A list of elements</div>
|
||||
</div>
|
||||
<div class="create-slot"><a href="/@my_group@remotedomain.net/p/new" class="button is-primary">+ Post a public message</a></div>
|
||||
<div class="create-slot"><a href="/@my_group@remotedomain.net/p/new" class="button is-primary">+ Create a post</a></div>
|
||||
</section>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user