Should fix bug in welcome message see #3898
parent
2d878c8c5d
commit
221276335b
@ -1,12 +1,18 @@ |
||||
{{ "HelloXAsYouCanSeeYourCourseListIsEmpty"|get_lang | format(_u.complete_name) }} |
||||
|
||||
{% if "allow_students_to_browse_courses"|get_setting == 'true' %} |
||||
|
||||
{{ "GoAheadAndBrowseOurCourseCatalogXOnceRegisteredYouWillSeeTheCourseHereX"|get_lang|format(course_catalog_link, course_list_link) }} |
||||
|
||||
<a class="btn btn-primary btn-large" href="{{ course_catalog_url }}"> |
||||
{{ "CourseCatalog"|get_lang }} |
||||
</a> |
||||
{% else %} |
||||
{% if count_courses == 0 %} |
||||
{{ "PleaseAllowUsALittleTimeToSubscribeYouToOneOfOurCourses"|get_lang }} |
||||
{% else %} |
||||
|
||||
{% if "allow_students_to_browse_courses"|get_setting == 'true' %} |
||||
|
||||
{{ "GoAheadAndBrowseOurCourseCatalogXOnceRegisteredYouWillSeeTheCourseHereX"|get_lang|format(course_catalog_link, course_list_link) }} |
||||
|
||||
<a class="btn btn-primary btn-large" href="{{ course_catalog_url }}"> |
||||
{{ "CourseCatalog"|get_lang }} |
||||
</a> |
||||
{% else %} |
||||
{{ "PleaseAllowUsALittleTimeToSubscribeYouToOneOfOurCourses"|get_lang }} |
||||
{% endif %} |
||||
|
||||
{% endif %} |
||||
Loading…
Reference in new issue