mirror of
https://github.com/wassname/talk.git
synced 2026-08-10 12:41:02 +08:00
[CORL-158] Open/Close stream inside of configure tab (#2223)
* feat: Open or Close stream inside of configure tab * feat: default disable/close commenting message * fix: adjusted tests
This commit is contained in:
@@ -204,7 +204,7 @@ shared.
|
||||
id="configure-general-sitewideCommenting-message"
|
||||
name="disableCommenting.message"
|
||||
onChange={[Function]}
|
||||
value=""
|
||||
value="Comments are closed on this story."
|
||||
/>
|
||||
</div>
|
||||
</fieldset>
|
||||
@@ -705,7 +705,7 @@ moderation panel.
|
||||
id="configure-general-closedStreamMessage-content"
|
||||
name="closeCommenting.message"
|
||||
onChange={[Function]}
|
||||
value=""
|
||||
value="Comments are closed on this story."
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15,10 +15,12 @@ export const settings = {
|
||||
},
|
||||
disableCommenting: {
|
||||
enabled: false,
|
||||
message: "Comments are closed on this story.",
|
||||
},
|
||||
closeCommenting: {
|
||||
auto: false,
|
||||
timeout: 604800,
|
||||
message: "Comments are closed on this story.",
|
||||
},
|
||||
customCSSURL: null,
|
||||
domains: ["localhost:8080"],
|
||||
|
||||
Reference in New Issue
Block a user