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

Database: create ##userpicture## tag to allow the user's profile picture to be displayed

    Details

    • Testing Instructions:
      Hide
      1. Create a database activity.
      2. A a field or two to the activity.
      3. Go to the templates.
      4. In the list template add
      5. Check that the user picture is now available in the "Available tags"
      6. Add the user picture tag to the template.
      7. Add an entry.
      8. Go to the view list and check that the user picture is displayed.
      9. Do a search using the advanced search at the bottom (or the search tab at the top).
      10. No errors are expected to be found.
      11. Delete one entry and make sure no warning/error happens
      12. Create more entries and select all
      13. Click Delete selected
      14. Make sure no error/warning is visible
      15. Click Delete and make sure all selected entries got deleted.
      Show
      Create a database activity. A a field or two to the activity. Go to the templates. In the list template add Check that the user picture is now available in the "Available tags" Add the user picture tag to the template. Add an entry. Go to the view list and check that the user picture is displayed. Do a search using the advanced search at the bottom (or the search tab at the top). No errors are expected to be found. Delete one entry and make sure no warning/error happens Create more entries and select all Click Delete selected Make sure no error/warning is visible Click Delete and make sure all selected entries got deleted.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_24_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-20053-master

      Description

      Similar to forum, it would be good to display a user's profile picture within the database activity module. We currently have a ##user## tag so ##userpicture## seems obvious. I am attaching a patch which implements this feature. Feel free to test the patch and provide feedback. Peace - Anthony

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  8 Vote for this issue
                  Watchers:
                  13 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/May/15