From b1085fa64448c40b6670d8702dec78e9a3d6e870 Mon Sep 17 00:00:00 2001 From: ihor-romaniuk Date: Thu, 18 Apr 2024 17:29:12 +0200 Subject: [PATCH] fix: relocate course organization and return removed prerequisites info --- lms/templates/courseware/course_about.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/lms/templates/courseware/course_about.html b/lms/templates/courseware/course_about.html index 7afee9c83766..880d4cea3c0d 100644 --- a/lms/templates/courseware/course_about.html +++ b/lms/templates/courseware/course_about.html @@ -63,7 +63,6 @@

${course.display_name_with_default}

- ${course.display_org_with_default}

${get_course_about_section(request, course, 'short_description')}

@@ -159,7 +158,16 @@

${course.display_name_with_default}

<%block name="course_about_important_dates">
    -
  1. ${_("Course Number")}

    ${course.display_number_with_default}
  2. +
  3. + +

    ${_("Organization")}

    + ${course.display_org_with_default} +
  4. +
  5. + +

    ${_("Course Number")}

    + ${course.display_number_with_default} +
  6. % if not course.start_date_is_still_default: <% course_start_date = course.advertised_start or course.start @@ -217,6 +225,8 @@

    ${course.display_name_with_default}

  7. ${_("Prerequisites")}

    + ## Multiple pre-requisite courses are not supported on frontend that's why we are pulling first element + ${pre_requisite_courses[0]['display']}

    ${Text(_("You must successfully complete {link_start}{prc_display}{link_end} before you begin this course.")).format( link_start=HTML('').format(prc_target),