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

Add a cancel button to edit profile page

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      For this You need

      1. One admin or a user who can edit other users profile
      2. One student user who can only edit his/her profile
      3. A course that both users are enrolled in
      4. Log in as an admin (see step 1) and add an activity (eg. forum) and post a discussion so that the student can post to the forum
      5. Log in as a student, add a discussion and post it to the forum.

      To test this

      1. login as student and follow the forum link and click on your picture(user image place holder). Then click on "Edit profile" link and you will land on /user/edit.php?.... url (Edit profile page) and at the bottom of the form you will see a "Cancel" button beside "Update profile" button.  
      2. login as Admin and follow the forum link and click on your picture or student picture(user image place holder). Then click on "Edit profile" link and you will land on /user/editadvanced.php?.... url (Edit profile page) and at the bottom of the form you will see a "Cancel" button beside "Update profile" button. 
      Show
      For this You need One admin or a user who can edit other users profile One student user who can only edit his/her profile A course that both users are enrolled in Log in as an admin (see step 1) and add an activity (eg. forum) and post a discussion so that the student can post to the forum Log in as a student, add a discussion and post it to the forum. To test this login as student and follow the forum link and click on your picture(user image place holder). Then click on "Edit profile" link and you will land on /user/edit.php?.... url (Edit profile page) and at the bottom of the form you will see a "Cancel" button beside "Update profile" button.   login as Admin and follow the forum link and click on your picture or student picture(user image place holder). Then click on "Edit profile" link and you will land on /user/editadvanced.php?.... url (Edit profile page) and at the bottom of the form you will see a "Cancel" button beside "Update profile" button. 
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      The User edit profile page have only the "Update profile" button and there is no "cancel" button. Adding a "cancel" button bring more consistency (considering most Moodle form have a "cancel" button as part of their action buttons. This also will give the users the confidence when in the middle of editing their profile and for whatever reason they don't want the new changes to take place, they can press the "cancel" button and be sure that nothing has been changed.

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18