feat: instructor notes

This commit is contained in:
Jannat Patel
2023-08-31 11:49:51 +05:30
parent fe08f4cf09
commit 677dc59399
7 changed files with 77 additions and 10 deletions

View File

@@ -86,6 +86,19 @@
</label>
</div>
<div class="field-group">
<div class="field-label">
{{ _("Instructor Notes") }}
</div>
<div class="field-description">
{{ _("This notes will only be visible to the Course Creator, Course Evaluaor and Moderator.") }}
</div>
<div id="instructor-notes"></div>
{% if lesson.instructor_notes %}
<div id="current-instructor-notes" class="hide">{{ lesson.instructor_notes }}</div>
{% endif %}
</div>
<div class="field-group">
<div>
<div class="field-label">
@@ -117,7 +130,6 @@
};
</script>
{% endif %}
{{ include_script('controls.bundle.js') }}
<script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@editorjs/paragraph@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@editorjs/header@latest"></script>