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

Unread forum posts not highlighted

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as admin
      2. Create a course and a user, and enrol the user in the course as a student
      3. Create a forum in the course with default settings
      4. Add 2 discussions in the forum
      5. For each discussion, add 2 replies
      6. Log in as the student
      7. From the user menu (click on the student's name at the top right of the page) go to preferences
      8. Click on the forum preferences
      9. Set forum tracking to "Yes: highlight new posts for me" and save changes
      10. Go to the course and enter the forum
      11. Verify that there is an "unread" column and the non-zero numbers in that column are highlighted
      Show
      Log in as admin Create a course and a user, and enrol the user in the course as a student Create a forum in the course with default settings Add 2 discussions in the forum For each discussion, add 2 replies Log in as the student From the user menu (click on the student's name at the top right of the page) go to preferences Click on the forum preferences Set forum tracking to "Yes: highlight new posts for me" and save changes Go to the course and enter the forum Verify that there is an "unread" column and the non-zero numbers in that column are highlighted
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-65666-master
    • Sprint:
      Internationals - 3.8 Sprint 1

      Description

      In pre 3.7 unread forum posts were highlighted in the discussion list and in the discussion view.

      With the introduction of templates the forum styles.css no longer match the Html structure:

      /* Forumpost unread
      -------------------------*/
      .forumpost.unread .row.header,
      .path-course-view .unread,
      span.unread {
          background-color: #ffd;
      }
      

        Attachments

        1. fixed highlight.png
          fixed highlight.png
          128 kB
        2. master.png
          master.png
          195 kB
        3. MDL-65666.jpg
          MDL-65666.jpg
          27 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Jul/19

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 56 minutes
                  56m