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

Convert usermenu to use templates

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Deferred
    • Minor
    • None
    • 4.0
    • Navigation
    • MOODLE_400_STABLE
    • MDL-71206-master
    • Hide

      This will be merged into 71148:

      1. Unit test updated
      2. Checkout the branch provided
      3. Download the attached patch and apply 
      4. Check the user menu on the top right, making sure that all the links and images are rendered correctly. 
      5. Additional scenarios, log in as admin:
        1. Switch roles
        2. Switch users
        3. Incorrect login attempts before successful (require config update)
      Show
      This will be merged into 71148: Unit test updated Checkout the branch provided Download the attached patch and apply  Check the user menu on the top right, making sure that all the links and images are rendered correctly.  Additional scenarios, log in as admin: Switch roles Switch users Incorrect login attempts before successful (require config update)
    • 3
    • 4.0 Navigation blitz 3

    Description

      Currently the user menu is rendered via html write statements in the outputrenderers.php user_menu() fn.

      This needs to be converted to use templates and will feed into the combining issue - MDL-71148

      The user menu is rendered partially via html(for the profile button metadata) and partially through templates(via the action_menu class).
      After a discussion with Adrian, it was decided to progress on MDL-71148 before working on this. Also this issue would include rendering of a user_menu partial that would be sent to the front end instead of providing nodes like the other menu available.

      Attachments

        Issue Links

          Activity

            People

              peterdias Peter Dias
              peterdias Peter Dias
              Mathew May Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 hour, 1 minute
                  1h 1m

                  Clockify

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