{#if !editMode} {/if} {#if !editMode} {/if}
{#each navItems as navItem (navItem.key)} {$t(navItem.label)} {/each} {#if navItemKeys.includes(NAV_ITEM_KEY.REQUIREMENT)}

{$t('course.navItem.landing_page.requirement')}

{/if} {#if navItemKeys.includes(NAV_ITEM_KEY.DESCRIPTION)}

{$t('course.navItem.landing_page.description')}

{/if} {#if navItemKeys.includes(NAV_ITEM_KEY.GOALS)}

{$t('course.navItem.landing_page.learn')}

{/if} {#if navItemKeys.includes(NAV_ITEM_KEY.CERTIFICATE)}

{$t('course.navItem.landing_page.certificate')}

{$t('course.navItem.landing_page.certificate_text')}

certificate template
{/if} {#if !courseData.metadata?.isContentGroupingEnabled}

{$t('course.navItem.landing_page.content')}

{pluralize('lesson', lessons.length, true)}

{#each lessons as lesson, index (lesson.id)}

{lesson.title}

{/each}
{:else if courseData.metadata?.isContentGroupingEnabled}

{$t('course.navItem.landing_page.course_content')}

{pluralize($t('course.navItem.landing_page.modules'), courseSections.length, true)}, {pluralize($t('course.navItem.landing_page.lessons'), totalLessons, true)}
{#each courseSections as section (section.id)} {/each}
{/if} {#if navItemKeys.includes(NAV_ITEM_KEY.REVIEWS)}

{$t('course.navItem.landing_page.reviews')}

{#each reviews.slice(0, 4) as review, id (review.id)} {#if !review.hide}
{#if review.avatar_url} {shortenName(review.name) || 'AV'} {/if}

{review.name}

{#if review.rating} {/if}

{review.description}

{#if !expandDescription[id] && review.description.split(' ').length > 9} {/if} {#if expandDescription[id]} {/if}
{/if} {/each}
{#if reviews.length > 4} {/if} {$t('course.navItem.landing_page.reviews_modal.title')}

{averageRating} {$t('course.navItem.landing_page.reviews_modal.rating')}

{reviews.length} {$t('course.navItem.landing_page.reviews_modal.ratings')}

{#each reviews as review, id (review.id)}
{#if review.avatar_url} {shortenName(review.name) || 'AV'} {/if}

{review.name}

{calDateDiff(review.created_at)}

{review.description}

{/each}
{/if}

{$t('course.navItem.landing_page.instructor')}

Author Avatar

{get(instructor, 'name', $currentOrg.name)}

{get(instructor, 'role', '')}

{get(instructor, 'courseNo', '')} {$t('course.navItem.landing_page.courses')}

{get(instructor, 'description', '')}

{#if !isVisible} {/if}