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

Availabillity settings - new visible/hidden control (eye icon) is hard to spot

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      0. Ensure you have availability enabled for the server.
      1. Edit settings for an activity and expand 'Restrict access'.
      2. Click 'Add restriction' and add a date restriction.
      EXPECTED: The restriction should appear. It includes an eye icon at the left (or possibly on a separate line if your screen is too narrow to fit the whole thing). The eye icon should be a normal size (16px) and not miniscule like it was before.
      3. Click the eye icon and verify that it still toggles OK.
      4. Mouse over the eye icon and verify that the tooltip explanation still appears.
      5. Tab to the icon and use keyboard to toggle it.
      6. Change the dropdown at the top from 'must match all of the following' to 'any' (OR condition).
      EXPECTED: The larger eye icon is also shown and works correctly when it appears at the top of the section.
      7. Switch back to AND, and add a nested restriction set.
      EXPECTED: The eye icon also still appears correctly to the left of the nested restriction set.

      Show
      0. Ensure you have availability enabled for the server. 1. Edit settings for an activity and expand 'Restrict access'. 2. Click 'Add restriction' and add a date restriction. EXPECTED: The restriction should appear. It includes an eye icon at the left (or possibly on a separate line if your screen is too narrow to fit the whole thing). The eye icon should be a normal size (16px) and not miniscule like it was before. 3. Click the eye icon and verify that it still toggles OK. 4. Mouse over the eye icon and verify that the tooltip explanation still appears. 5. Tab to the icon and use keyboard to toggle it. 6. Change the dropdown at the top from 'must match all of the following' to 'any' (OR condition). EXPECTED: The larger eye icon is also shown and works correctly when it appears at the top of the section. 7. Switch back to AND, and add a nested restriction set. EXPECTED: The eye icon also still appears correctly to the left of the nested restriction set.
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-45449-master

      Description

      It would appear that section and activity availability information is always displayed.

      To reproduce:

      1. Edit section summary
      2. Set Restrict access condition to a condition that student will not satisfy
      3. Login as the student
      4. Visibility information is displayed along with the topic header

      This is problematic if you are using restrictions such as groups to limit access to specific sections/activities as the section/activity is always visible in some form.

      In previous versions this was an option that the user could specify for it to be either visible with restriction information or completely hidden.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14