[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:
Kiwi
2019-03-19 18:30:44 +01:00
committed by GitHub
parent 5a7340ac3a
commit 41db413bea
34 changed files with 783 additions and 208 deletions
@@ -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>
+2
View File
@@ -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"],