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

Reusable element for inline name editing

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create courses in topics and weeks format
      2. Turn editing mode on
      3. Make sure you can edit the sections name inline, try to break it (for example, login first as teacher, render the page, then in a separate tab logout and login as student or teacher in another course, then come back to the first tab and try to edit section name)
      4. Configure both courses to display each section on a separate page
      5. Make sure sections names can still be edited
      6. Go to Site administration>Apperance>Manage tags, click on Default collection, add some tags if not present
      7. Make sure you can edit tag names too

      Check accessibility of the element
      Make sure everything looks mirrored in RTL language

      Show
      Create courses in topics and weeks format Turn editing mode on Make sure you can edit the sections name inline, try to break it (for example, login first as teacher, render the page, then in a separate tab logout and login as student or teacher in another course, then come back to the first tab and try to edit section name) Configure both courses to display each section on a separate page Make sure sections names can still be edited Go to Site administration>Apperance>Manage tags, click on Default collection, add some tags if not present Make sure you can edit tag names too Check accessibility of the element Make sure everything looks mirrored in RTL language
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      wip-MDL-51802-master4

      Description

      This is a proposal to create a re-usable element for in-place name editing.
      This can be implemented as template/JS module
      Plugins and core will be able to use it by specifying the AJAX callback to execute when editing was completed

      Use cases:

      • activity name - exists and not standard (will be converted to this element in MDL-52869)
      • section name (added in this issue)
      • tag name on "manage tags" page - exists and not standard (converted to standard under this issue)
      • maximum mark and category title on quiz edit page (MDL-53009 to convert to this element)
      • blocks names (MDL-52994)
      • etc.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16