{% set is_onboarding_complete = frappe.db.get_single_value("LMS Settings", "is_onboarding_complete") %} {% if has_course_moderator_role() and not is_onboarding_complete %} {% set course_created = frappe.db.count("LMS Course") %} {% set first_course = frappe.db.get_all("LMS Course", order_by="creation", pluck="name")[0] %} {% set chapter_created = frappe.db.count("Course Chapter") %} {% set lesson_created = frappe.db.count("Course Lesson") %} {% set quiz_created = frappe.db.count("LMS Quiz") %}
{{ _("Skip") }}

{{ _("Welcome") }} 🎉

{{ _("Lets start setting up your content on the LMS so that you can reclaim time and focus on growth.") }}
{% endif %}