Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49883

Course (with image) rendering issue in overview when enrolmenticons are present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.8.5
    • Course
    • MOODLE_28_STABLE

      Moodle 2.8.5 (with BCU theme installed)

      Create a course with a long description and a course image. Set guest access and/or allow self-enrolment to render the enrolmenticons. Display all courses in the course area.

      Courses with no images will render correctly even if enrolment icons are present. Courses with images render correctly if no enrolment icons are present but if they are present the floating <div>s create a render issue where the image is displayed not next to but underneath the course description. Normally they appear left of the description.

      After investigation I could apply a quick and dirty fix:
      In course/render.php change the rendering order in <div class="info">:
      Bring <div class="moreinfo">...</div> and <div class="enrolmenticons">...</div> in front of <h3 class="coursename">...</h3>

      This quick "fix" doesn't work on every page but I don't have time to look further into the issue at the moment.

            Unassigned Unassigned
            helmutsteiner Helmut Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.