Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32765 Paging course support remaining issues (follow on from MDL-32508)
  3. MDL-32824

Drag/dropping a section needs to cater for update to title/link

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 2.3
    • 2.3
    • JavaScript
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • MDL-32824-master-2
    • Hide
      1. Enable editing on the course page and make sure that course format is topics.
      2. Make sure that some sections have custom title and some default one.
      3. Drag any section over some sections with custom and default titles.
      4. Make sure that the order of titles is correct once you dropped the section.
      5. Change the course format to weekly and repeat steps 2-4.
      Show
      Enable editing on the course page and make sure that course format is topics. Make sure that some sections have custom title and some default one. Drag any section over some sections with custom and default titles. Make sure that the order of titles is correct once you dropped the section. Change the course format to weekly and repeat steps 2-4.

      This is partly my fault for loosing some markup I think, but we need to think about the case of the default topic title too.

      1/ Switch on paged section mode
      2/ Turn on editing on front page
      3/ Drag and drop sections

      Problems:

      • If the default title is there (e.g. week dates/'Topic 1') the titles do not get switched
      • The links don't get changed (it needs updating with section number)

      This is problematic, because if someone defines a section name the section name needs to stay with the text, but the link needs to be changed.

      I could probably define some markup for displaying the default title, and different markup for the user created title, then you could work out if the default title was being displayed or a new one. Thoughts required!

            kabalin Ruslan Kabalin
            poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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