* feat: [ACADEMIC-16209] Unit summary settings [https://jira.2u.com/browse/ACADEMIC-16209](https://jira.2u.com/browse/ACADEMIC-16209) 1. Add unit xpert unit summaries settings behind flag `summaryhook_summaries_configuration` added [here](https://github.com/edx/ai-aside/pull/45/files) 2. Only show the checkbox when the value is a `boolean` otherwise the feature is considerer `disabled` by the flag. 3. Update block handler to update this value via `api` exposed [here](https://github.com/edx/ai-aside/pull/43) 4. Create `AiAsideSummary` configuration class to provide access to the `ai_aside.api` endpoints.
12 lines
380 B
Plaintext
12 lines
380 B
Plaintext
<form>
|
|
<h3 class="modal-section-title">
|
|
<%- gettext('Xpert unit summaries') %>
|
|
</h3>
|
|
<div class="modal-section-content summary-configuration">
|
|
<label class="label">
|
|
<input type="checkbox" id="summary_configuration_enabled" name="summary_configuration_enabled" class="input input-checkbox" />
|
|
<%- gettext('Enable summaries') %>
|
|
</label>
|
|
</div>
|
|
</form>
|