Files
edx-platform/cms/templates/js/discussion-editor.underscore
Ahtisham Shahid 33dc8e1f21 feat: added user messages and backed now uses discussion_enabled flag (#31716)
* refactor: simplified tasks.py for discussions

* fix: do not create a topic for the unpublished unit

* feat: added user messages and backed now uses discussion_enabled flag

* fix: update default for discussion_enabled flag

* feat: removed redundant tests and fixes
2023-02-22 12:41:02 +05:00

20 lines
651 B
Plaintext

<form>
<h3 class="modal-section-title">
<%- gettext('Discussion') %>
</h3>
<div class="modal-section-content discussion-enabled">
<label class="label">
<input type="checkbox" id="discussion_enabled" name="discussion_enabled" class="input input-checkbox" />
<%- gettext('Enable discussion') %>
</label>
<div class="ml-5">
<p class="un-published-tip tip tip-inline">
<%- gettext('Topics for unpublished units would not be created') %>
</p>
<p class="graded-tip tip tip-inline">
<%- gettext('Please enable discussions for graded units from course authoring app') %>
</p>
</div>
</div>
</form>