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

Convert usermenu to use templates

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: Navigation
    • Testing Instructions:
      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)
    • Affected Branches:
      MOODLE_400_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-71206-master
    • Story Points:
      3
    • Sprint:
      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

              Assignee:
              peterdias Peter Dias
              Reporter:
              peterdias Peter Dias
              Peer reviewer:
              Mathew May
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              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