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

Toggle presentation of long restricion lists

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.10.5
    • None
    • Conditional activities, UX
    • MOODLE_310_STABLE

    Description

      Using some complex restriction patterns I found that the restriction list shown to students can become pretty long and confusing. Therefore, I'ld be happy to get the possibility to toggle in the "Restriction access" part of an activity if the restriction list should be put in a <details> block or not.

      I explained my usecase in more detail in the moodle community forums: Moodle in English: Restriction information on mouseover

      I provided a first step to the solution there. I ádjusted the code so that a <details> block is used if a activity has more than one restriction (and thus the info will be a list). But this approach will also collapse a list of only two elements.

      Since this was my first day coding something in the moodle environment I did not manage to find where (and how) to create a checkbox to toggle this behaviour manually.

      I hope some of you will find this functionality usefull as well and may work on this subject.

      Best regards, Simon

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              famondir Simon Schäfer
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: