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

Show user initials as a placeholder for the user profile picture

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Blocker
    • 4.0
    • 4.0
    • Themes
    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-72305-master
    • Hide

      For this test you will need some test users, create 3 new users with names like

      Chris Elan
      Laura Kropp
      Nico Jansen

      For user Nico upload a profile picture

      Then enrol the users in a new course

      1. Login as admin
      2. Navigate to your test course
      3. Click on the participants tab
      4. Verify you see the user initials for users Chris and Laura, and you see the user picture of Nico

      1. Login as user Laura
      2. Verify you see the user initials for user Laura in the top navbar

      1. Navigate to your profile page
      2. Verify you see the user initials for user Laura in the page header

      1. Login as admin
      2. Navigate to Site Administration > Users > Browse list of users
      3. Click on the profile for user Laura Krop
      4. User the login as feature to login as Laura Krop
      5. Verify the top navbar shows the user initials for Laura Krop and for the admin user in the top navbar

      Show
      For this test you will need some test users, create 3 new users with names like Chris Elan Laura Kropp Nico Jansen For user Nico upload a profile picture Then enrol the users in a new course Login as admin Navigate to your test course Click on the participants tab Verify you see the user initials for users Chris and Laura, and you see the user picture of Nico Login as user Laura Verify you see the user initials for user Laura in the top navbar Navigate to your profile page Verify you see the user initials for user Laura in the page header Login as admin Navigate to Site Administration > Users > Browse list of users Click on the profile for user Laura Krop User the login as feature to login as Laura Krop Verify the top navbar shows the user initials for Laura Krop and for the admin user in the top navbar

    Description

      When the user pictured is rendered but the user has no profile picture show the user initials instead

      Attachments

        1. Figma design.png
          Figma design.png
          211 kB
        2. Figma design-1.png
          Figma design-1.png
          211 kB
        3. header.png
          header.png
          914 kB
        4. header-1.png
          header-1.png
          914 kB
        5. initials-only.png
          initials-only.png
          692 kB
        6. list-of-users.png
          list-of-users.png
          921 kB
        7. logged-in-as.png
          logged-in-as.png
          527 kB
        8. loginas.png
          loginas.png
          22 kB
        9. loginas-1.png
          loginas-1.png
          22 kB
        10. MDL-72305_Test passed.png
          MDL-72305_Test passed.png
          114 kB
        11. navbar.png
          navbar.png
          11 kB
        12. participants.png
          participants.png
          1002 kB
        13. Screenshot 2021-08-11 at 12.53.36.png
          Screenshot 2021-08-11 at 12.53.36.png
          166 kB
        14. Screenshot 2022-03-17 at 17.48.11.png
          Screenshot 2022-03-17 at 17.48.11.png
          66 kB
        15. Screenshot 2022-03-17 at 17.52.03.png
          Screenshot 2022-03-17 at 17.52.03.png
          246 kB

        Issue Links

          Activity

            People

              basbrands Bas Brands
              basbrands Bas Brands
              Mathew May Mathew May
              Ilya Tregubov Ilya Tregubov
              Gladys Basiana Gladys Basiana
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours, 25 minutes
                  1d 4h 25m

                  Clockify

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