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

Navigation block: Displays click-to-expand for empty weeks (with Label)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.5, 2.2.2
    • 2.1.4, 2.2.1, 2.3
    • Navigation
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MDL-31122-master
    • Hide

      1. Create a new course.
      2. Set the titles of the first 3 weeks in the course to 'This little piggy has one activity', 'This little piggy has none', and 'This little piggy only has a label'.
      3. In the first week, add a Forum.
      4. In the third week, add a Label.
      + Under the course node, the Navigation block should show only the first week 'This little piggy has one activity'.
      5. Edit the Label. While editing, check the navigation.
      + The third week 'This little piggy has only a label' should now be visible in the navigation, since the label is the context node. It should be expanded and contain the label.

      (At present in step 4 it also displays the third week, and clicking to expand the week does not reveal any activities.)

      Show
      1. Create a new course. 2. Set the titles of the first 3 weeks in the course to 'This little piggy has one activity', 'This little piggy has none', and 'This little piggy only has a label'. 3. In the first week, add a Forum. 4. In the third week, add a Label. + Under the course node, the Navigation block should show only the first week 'This little piggy has one activity'. 5. Edit the Label. While editing, check the navigation. + The third week 'This little piggy has only a label' should now be visible in the navigation, since the label is the context node. It should be expanded and contain the label. (At present in step 4 it also displays the third week, and clicking to expand the week does not reveal any activities.)

      The navigation block has two useful properties:

      • It displays only course weeks that contain one or more modules.
      • Within course weeks, it displays only modules that you can navigate to (e.g. not Label).

      Unfortunately, taken together these two features do not work: it incorrectly displays course weeks when they only contain the Label module (or other modules that don't have links).

            quen Sam Marshall
            quen Sam Marshall
            Sam Hemelryk Sam Hemelryk
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rajesh Taneja Rajesh Taneja
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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