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

make Browse Users list scrollable for smaller screens

    XMLWordPrintable

Details

    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MDL-42265-browse_users_scroll
    • 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.

    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
          50 kB
          Barbara Ramiro
        2. 25-clean.png
          35 kB
          Barbara Ramiro
        3. 25-standard.png
          41 kB
          Barbara Ramiro
        4. integration-clean.png
          34 kB
          Barbara Ramiro
        5. integration-standard.png
          48 kB
          Barbara Ramiro

        Activity

          People

            raymor Ray Morris
            raymor Ray Morris
            Jason Fowler Jason Fowler
            Damyon Wiese Damyon Wiese
            Barbara Ramiro Barbara Ramiro
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Huong Nguyen, Bas Brands, Mathew May, Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Nov/13