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

make Browse Users list scrollable for smaller screens

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Navigate to Site Administration > Accounts > Browse list of users.

      Drag your browser window to be narrow enough that the last column isn't visible. Without the patch, the final column(s) become inaccessible.
      With the patch, a scroll bar should appear at the bottom of the table, allowing you to scroll horizontally.

      Show
      Navigate to Site Administration > Accounts > Browse list of users. Drag your browser window to be narrow enough that the last column isn't visible. Without the patch, the final column(s) become inaccessible. With the patch, a scroll bar should appear at the bottom of the table, allowing you to scroll horizontally.
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-42265-browse_users_scroll

      Description

      On lower resolution screens, it's handy if the Browse Users list can scroll similar to Gradebook. The following adjustment has been tested as working:

      In admin/user.php, change:
      echo html_writer::table($table);

      to:

      echo html_writer::start_tag('div', array('class'=>'no-overflow'));
      echo html_writer::table($table);
      echo html_writer::end_tag('div');

        Attachments

        1. 24-standard.png
          24-standard.png
          50 kB
        2. 25-clean.png
          25-clean.png
          35 kB
        3. 25-standard.png
          25-standard.png
          41 kB
        4. integration-clean.png
          integration-clean.png
          34 kB
        5. integration-standard.png
          integration-standard.png
          48 kB

          Activity

            People

            • Assignee:
              raymor Ray Morris
              Reporter:
              raymor Ray Morris
              Peer reviewer:
              Jason Fowler
              Integrator:
              Damyon Wiese
              Tester:
              Barbara Ramiro
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Bas Brands, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Barbara Ramiro, Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

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