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

Fix page heading on user webservice docs page

XMLWordPrintable

    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-78352-401
    • MDL-78352-402
    • Hide
      1. Log in as admin
      2. Create a new user
      3. Navigate to Users > Permissions > Define roles in site administration
      4. Edit the Authenticated user role
      5. Allow the "moodle/webservice:createtoken" capability and save
      6. Navigate to Server > Web services > Overview in site administration
      7. Complete the following:
        • Enable web services
        • Enable protocols (REST)
        • Enable developer documentation
      8. Navigate to Server > Web services > External services in site administration
      9. Edit Moodle mobile web service and set as enabled
      10. Navigate to Server > Web services > Manage tokens in site administration
      11. Create token for test user to use Moodle mobile web service
      12. Log out
      13. Log in as test user
      14. Navigate to Preferences from user menu
      15. Press Security keys
      16. Confirm page heading shows your full name (next to your avatar)
      17. Press Documentation
      18. Confirm page heading shows your full name (next to your avatar)
      Show
      Log in as admin Create a new user Navigate to Users > Permissions > Define roles in site administration Edit the Authenticated user role Allow the "moodle/webservice:createtoken" capability and save Navigate to Server > Web services > Overview in site administration Complete the following: Enable web services Enable protocols (REST) Enable developer documentation Navigate to Server > Web services > External services in site administration Edit Moodle mobile web service and set as enabled Navigate to Server > Web services > Manage tokens in site administration Create token for test user to use Moodle mobile web service Log out Log in as test user Navigate to Preferences from user menu Press Security keys Confirm page heading shows your full name (next to your avatar) Press Documentation Confirm page heading shows your full name (next to your avatar)
    • 1
    • Team Hedgehog 2023 Sprint 2.1, Team Hedgehog 2023 Sprint 2.2

      Noticed on MDL-78339, despite the page being in the user context (which sets the page heading automatically - e.g. avatar, name, message icon) - we then override the heading to produce the following confusing output where we substitute the users name for "Web service documentation" (duplicating both the navbar and page title):

            pholden Paul Holden
            pholden Paul Holden
            Meirza Meirza
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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