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

Subsections visibility badges should be consistent with the subsection action menu

XMLWordPrintable

    • HQ 2024 Sprint I3.1 Moppies

      This issue is part of the course hierarch project.

      Issue goals

      Subsections' action menus are different from those of normal sections. One of the remarkable changes is the subsection hide/show options logic.

      To prevent unnecessary complexity, when a subsection is inside a hidden section, the subsection has no option to hide or show, and the visibility is forced.

      However, the visibility badge still shows the option to change the visibility. This issue is about make the visibility badge consistent with the action menu.

      Steps to reproduce:

      1. Enable mod_subsection and create a course
      2. Create a course with a subsection on section 1
      3. Hide the section 1
      4. Expected: the subsection action menu won't show a show/hide item and the visibility badge won't have a dropdown to change the value.
      5. What happens: the subsection menu does not have a  show/hide, but the visibility badge is still editable.

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Carlos Escobedo Carlos Escobedo
            Amaia Anabitarte Amaia Anabitarte
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 57 minutes
                2h 57m

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