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

Add the drop-down to navigate between activities

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable the multilang filter plugin for both content and headings.
      2. Do the setup steps outlined in MDL-59612. But this time, ensure that you create activity names in multilang. e.g.

        Assignment 1 <span class="multilang" lang="ja">JA</span><span class="multilang" lang="en">EN</span><span class="multilang" lang="de">DE</span>
        

      3. You can optionally install additional language packs (e.g. ja and de).
      As an admin that can see hidden and stealth activities.
      1. Login as an admin/teacher
      2. Go to an activity that is available.
        • Confirm that you can see a dropdown menu in between the previous and next activity links.
        • Confirm that the pre-selected option in the dropdown menu says "Jump to..."
      3. Expand the dropdown menu.
        • Confirm that the stealth activities are not listed.
        • Confirm that hidden activities are listed, but have "(hidden)" beside their activity names.
        • Confirm that the activities with multilang names are displayed appropriately based on the current language.
        • Confirm that the current activity that you're on is not listed in the dropdown menu.
      As a student.
      1. Go to an activity that is available.
        • Confirm that you can see a dropdown menu in between the previous and next activity links.
        • Confirm that the pre-selected option in the dropdown menu says "Jump to..."
      2. Expand the dropdown menu.
        • Confirm that as a student, only the activities available to you are listed on the dropdown menu.
        • Confirm that the activities with multilang names are displayed appropriately based on the current language.
        • Confirm that the current activity that you're on is not listed in the dropdown menu.
      Course with a single activity
      1. Login as an admin
      2. Create a course that only contains a single activity (e.g. assignment)
      3. Go to the assignment.
        • Confirm that the activity list dropdown is not being rendered.
      Show
      Enable the multilang filter plugin for both content and headings. Do the setup steps outlined in MDL-59612 . But this time, ensure that you create activity names in multilang. e.g. Assignment 1 <span class="multilang" lang="ja">JA</span><span class="multilang" lang="en">EN</span><span class="multilang" lang="de">DE</span> You can optionally install additional language packs (e.g. ja and de). As an admin that can see hidden and stealth activities. Login as an admin/teacher Go to an activity that is available. Confirm that you can see a dropdown menu in between the previous and next activity links. Confirm that the pre-selected option in the dropdown menu says " Jump to... " Expand the dropdown menu. Confirm that the stealth activities are not listed. Confirm that hidden activities are listed, but have " (hidden) " beside their activity names. Confirm that the activities with multilang names are displayed appropriately based on the current language. Confirm that the current activity that you're on is not listed in the dropdown menu. As a student. Go to an activity that is available. Confirm that you can see a dropdown menu in between the previous and next activity links. Confirm that the pre-selected option in the dropdown menu says " Jump to... " Expand the dropdown menu. Confirm that as a student, only the activities available to you are listed on the dropdown menu. Confirm that the activities with multilang names are displayed appropriately based on the current language. Confirm that the current activity that you're on is not listed in the dropdown menu. Course with a single activity Login as an admin Create a course that only contains a single activity (e.g. assignment) Go to the assignment. Confirm that the activity list dropdown is not being rendered.
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-59613-master

      Description

      In-between the the next and previous buttons we should have a drop-down that can take a user to other activities, ensuring we only show the ones that they would be able to click on in the course view (consider hidden and restricted activities etc).

      There is a nice picture in MDL-59314 that shows this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jpataleta Jun Pataleta
                Reporter:
                markn Mark Nelson
                Peer reviewer:
                Mark Nelson
                Integrator:
                David Monllaó
                Tester:
                Simey Lameze
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

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