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

Fix drawer links to content bank

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9
    • Fix Version/s: 3.9
    • Component/s: Content bank
    • Labels:
    • Testing Instructions:
      Hide
      • Login as Admin.
      • Create a Course.
      • Create an activity in the Course (ex. Assignment)

      Test 1 (Test content bank navigation link in an activity)

      1. As Admin go to the Course.
      2. Click on the Content bank link in the navigation drawer (NOTE: In 'Classic' theme the content bank link is in the "Site pages" sub-menu)
      3. In the Content bank click on the "Upload" button and add an h5p file (You can use the uploaded h5p file in this issue)
      4. Go to the Assignment in the Course
      5. Click on the Content bank link in the navigation drawer
        • make sure you can see the content uploaded earlier in the content bank of the Course.

      Test 2 (Test content bank icon output in Classic)

      1. As Admin go to Site administration > Appearance > Theme selector and change the theme from Boost to Classic
      2. Go to the Dashboard
        • make sure there is a "brush" icon in the content bank link in the navigation drawer 
      3. Click on "Courses" in the navigation drawer (by default a list courses in the Miscellaneous category will be displayed)
        • make sure there is a "brush" icon in the content bank link in the navigation drawer (The content bank link is in the "Site pages" sub-menu)
      4. From the list of courses click on Course (only Course should be available anyways)
        • make sure there is a "brush" icon in the content bank link in the navigation drawer (The content bank link is in the "Site pages" sub-menu)
      5. Go to the activity (Assignment) in the Course.
        • make sure there is a "brush" icon in the content bank link in the navigation drawer (The content bank link is in the "Site pages" sub-menu)

       

      Show
      Login as Admin. Create a Course. Create an activity in the Course (ex. Assignment) Test 1 (Test content bank navigation link in an activity) As Admin go to the Course. Click on the Content bank link in the navigation drawer (NOTE: In 'Classic' theme the content bank link is in the "Site pages" sub-menu) In the Content bank click on the "Upload" button and add an h5p file (You can use the uploaded h5p file in this issue) Go to the Assignment in the Course Click on the Content bank link in the navigation drawer make sure you can see the content uploaded earlier in the content bank of the Course. Test 2 (Test content bank icon output in Classic) As Admin go to Site administration > Appearance > Theme selector and change the theme from Boost to Classic Go to the Dashboard make sure there is a "brush" icon in the content bank link in the navigation drawer   Click on "Courses" in the navigation drawer (by default a list courses in the Miscellaneous category will be displayed) make sure there is a "brush" icon in the content bank link in the navigation drawer (The content bank link is in the "Site pages" sub-menu) From the list of courses click on Course (only Course should be available anyways) make sure there is a "brush" icon in the content bank link in the navigation drawer (The content bank link is in the "Site pages" sub-menu) Go to the activity (Assignment) in the Course. make sure there is a "brush" icon in the content bank link in the navigation drawer (The content bank link is in the "Site pages" sub-menu)  
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
      MDL-68498-master

      Description

      In both Boost and Classic, the content bank links in the drawer/navigation block at module context level is linked to system level content bank (only for users have system level permission).

      At module context level, content bank link's behavior should be same as at course level.

      And the icon shown in Classic should always be a brush.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Geshoski Mihail Geshoski
              Reporter:
              amaia Amaia Anabitarte
              Peer reviewer:
              Amaia Anabitarte
              Integrator:
              Adrian Greeve
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 5 minutes
                  4h 5m