feat: onboarding
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{% set chapters = get_chapters(course.name) %}
|
||||
|
||||
{% if course.edit_mode or chapters | length %}
|
||||
<div class="course-home-outline">
|
||||
|
||||
{% set chapters = get_chapters(course.name) %}
|
||||
|
||||
{% if course.edit_mode and course.name %}
|
||||
<button class="btn btn-md btn-secondary btn-chapter pull-right"> {{ _("New Chapter") }} </button>
|
||||
@@ -110,9 +112,14 @@
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if chapters | length %}
|
||||
<!-- No Preview Modal -->
|
||||
{{ widgets.NoPreviewModal(course=course, membership=membership) }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
<script>
|
||||
|
||||
frappe.ready(() => {
|
||||
|
||||
Reference in New Issue
Block a user