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

Add the drop-down to navigate between activities

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Minor
    • 3.4
    • 3.4
    • Course
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59613-master
    • 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.

    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

              jpataleta Jun Pataleta
              markn Mark Nelson
              Mark Nelson Mark Nelson
              David Monllaó David Monllaó
              Simey Lameze Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Nov/17