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

Courses with course visibility set to hide should be labelled 'Hidden from students' in the course overview (backport of MDL-65621)

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as admin.
      2. Create a new course (C1), set visibility to "Hide".
      3. Enrol yourself in course C1.
      4. Create another course (C2), set visibility to "Show".
      5. Enrol yourself in course C2.
      6. Navigate to the Dashboard.
      7. Make sure you have selected "Card" view in the Course Overview block
      8. Verify you see the label "Hidden from students" in the course card for C1
      9. Change the view to "List"
      10. Verify you see the label "Hidden from students" in the listed course C1
      11. Change view to "Summary"
      12. Verify you see the label "Hidden from students" in the summarised course C1
      13. Add the "Starred courses" block to your dashboard
      14. Star courses C1 and C2
      15. Verify you see the label "Hidden from students" in the course card for C1 in the Starred courses block.
      Show
      Log in as admin. Create a new course (C1), set visibility to "Hide". Enrol yourself in course C1. Create another course (C2), set visibility to "Show". Enrol yourself in course C2. Navigate to the Dashboard. Make sure you have selected "Card" view in the Course Overview block Verify  you see the label "Hidden from students" in the course card for C1 Change the view to "List" Verify  you see the label "Hidden from students" in the listed course C1 Change view to "Summary" Verify  you see the label "Hidden from students" in the summarised course C1 Add the "Starred courses" block to your dashboard Star courses C1 and C2 Verify  you see the label "Hidden from students" in the course card for C1 in the Starred courses block.
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull 3.6 Branch:
      MDL-65621-dimmed-courses-MOODLE_3.6
    • Pull 3.7 Branch:
      MDL-65621-dimmed-courses-MOODLE_3.7

      Description

      See https://tracker.moodle.org/browse/MDL-65621

       

      Rationale: 

      • My university's Moodle instance is still a year away from going to v3.8 (half a year from going to v3.7), we sure could use this improvement now.
      • The work is already done and has been reviewed/commented on , see original ticket

       

      3.6 branch:
      https://github.com/stopfstedt/moodle/tree/MDL-65621-dimmed-courses-MOODLE_3.6

      https://github.com/moodle/moodle/compare/MOODLE_36_STABLE...stopfstedt:MDL-65621-dimmed-courses-MOODLE_3.6

      3.7 branch:

      https://github.com/stopfstedt/moodle/tree/MDL-65621-dimmed-courses-MOODLE_3.7

      https://github.com/moodle/moodle/compare/MOODLE_37_STABLE...stopfstedt:MDL-65621-dimmed-courses-MOODLE_3.7

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 50 minutes
                  1h 50m