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

Bullet points and numbers shown in book table of contents (Boost only)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.7.4, 3.8.1
    • 3.5.1, 3.8
    • Book, Themes
    • MOODLE_35_STABLE, MOODLE_38_STABLE
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • MDL-63107-master
    • Hide

      Please test this patch on both themes Classic and Boost

      1. Login as admin
      2. Create a new course C1
      3. Add a book resource "Test Book" to course C1
      4. Create a first chapter called "First Chapter" with some dummy text
      5. After creating the first chapter you should be able to see your newly created chapter and the Table of Contents block
      6. From the Table of Contents block click the + icon after "First Chapter"
      7. Create a second chapter called "Second Chapter" with some dummy text
      8. Click the plus icon after "Second Chapter"
      9. Create a third chapter called "Third Chapter with a very long title" and check the subchapter checkbox.
      10. verify the chapter titles are numbered in the Table of Contents block
      11. Click the gear icon right of the book title "Test Book"
      12. On the dropdown choose Edit settings
      13. Open the "Appearance" Section and change Chapter formatting from Numbers to Bullets
      14. verify the chapter titles now have a bullet instead of a number
      15. verify the chapter titles are truncated when the title is too long
      16. verify the action icons are in the same row as the chapter titles
      17. Edit the Book settings
      18. Change Chapter formatting from Bullets to Indented
      19. verify no numbers show, the subchapter is still indented
      20. Edit the Book settings
      21. Change Chapter formatting from Bullets to None
      22. verify the is no formatting of the chapters
      Show
      Please test this patch on both themes Classic and Boost Login as admin Create a new course C1 Add a book resource "Test Book" to course C1 Create a first chapter called "First Chapter" with some dummy text After creating the first chapter you should be able to see your newly created chapter and the Table of Contents block From the Table of Contents block click the + icon after "First Chapter" Create a second chapter called "Second Chapter" with some dummy text Click the plus icon after "Second Chapter" Create a third chapter called "Third Chapter with a very long title" and check the subchapter checkbox. verify the chapter titles are numbered in the Table of Contents block Click the gear icon right of the book title "Test Book" On the dropdown choose Edit settings Open the "Appearance" Section and change Chapter formatting from Numbers to Bullets verify the chapter titles now have a bullet instead of a number verify the chapter titles are truncated when the title is too long verify the action icons are in the same row as the chapter titles Edit the Book settings Change Chapter formatting from Bullets to Indented verify no numbers show, the subchapter is still indented Edit the Book settings Change Chapter formatting from Bullets to None verify the is no formatting of the chapters

    Description

      Steps to reproduce (using Boost theme):

      1. Create a book with chapter formatting set as Numbers
      2. Add a couple of chapters
      3. View the book

      Expected result:

      The chapters are listed in the table of contents with numbers and no bullet points (as when using Clean theme).

      Actual result:

      Bullet points AND numbers are shown.

      Attachments

        Activity

          People

            basbrands Bas Brands
            tsala Helen Foster
            Mathew May Mathew May
            Adrian Greeve Adrian Greeve
            Amaia Anabitarte Amaia Anabitarte
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 50 minutes
                4h 50m

                Clockify

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