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

Recently Accessed Items block uses stock LTI icon even if it has been customized

XMLWordPrintable

    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-69168_recently-accessed-items-block-uses-stock-lti-icon__master
    • Hide
      1. Add the "recently accessed items" block to the dashboard
      2. Go to a course, "Turn editing on"
      3. In any given section, "Add an activity or resources"
      4. From the list of available activities in the modal, choose "External Tool" to configure a new LTI
      5. Set a name
      6. In the "General" section, click on "show more..."
      7. Provide a path to an image in the "Icon URL" input field.
      8. Click the "Save and display" button to view the activity. It will be blank - this is fine.
      9. Now, create an assignment and a quiz in the course and view each of these.
      10. Return to the dashboard
      11. Verify:
        1. The LTI activity is shown in the "Recently Accessed Items" block and
        2. The LTI activity is displayed with the custom image you picked for it.
      12. Inspect the image using developer tools
      13. Verify (regression test):
        1. The title reads 'External Tool'
        2. The alt attribute reads 'External Tool'
      14. Inspect the image for the assignment and the quiz, in turn.
      15. Verify (regression test):
        1. The title reads 'Assignment' or 'Quiz' respectively
        2. The alt attribute reads 'Assignment' or 'Quiz' respectively
      Show
      Add the "recently accessed items" block to the dashboard Go to a course, "Turn editing on" In any given section, "Add an activity or resources" From the list of available activities in the modal, choose "External Tool" to configure a new LTI Set a name In the "General" section, click on "show more..." Provide a path to an image in the "Icon URL" input field. Click the "Save and display" button to view the activity. It will be blank - this is fine. Now, create an assignment and a quiz in the course and view each of these. Return to the dashboard Verify : The LTI activity is shown in the "Recently Accessed Items" block and The LTI activity is displayed with the custom image you picked for it. Inspect the image using developer tools Verify (regression test) : The title reads 'External Tool' The alt attribute reads 'External Tool' Inspect the image for the assignment and the quiz, in turn. Verify (regression test) : The title reads 'Assignment' or 'Quiz' respectively The alt attribute reads 'Assignment' or 'Quiz' respectively

      The Recently Accessed Items block on the dashboard uses the stock External Tools (LTI) icon (the green puzzle piece) for recently accessed LTI resources even if a customized icon for the LTI has been set up in the External Tools setup. You can see the custom icon in the activity chooser and on the course home page, but not in the recently accessed items block on the dashboard. Ideally, the custom icon should also be used there.

            stopfstedt Stefan Topfstedt
            bnwinsf Brian Warling
            Jake Dallimore Jake Dallimore
            Andrew Lyons Andrew Lyons
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 40 minutes
                2h 40m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.