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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.1
    • Fix Version/s: None
    • Component/s: Book, Themes
    • Labels:
    • Testing Instructions:
      Hide

      Please test this patch on both themes Clean 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 create 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 titles 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 are now numbered, no bullets show
      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 Clean 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 create 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 titles 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 are now numbered, no bullets show 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
    • Affected Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull 3.6 Branch:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-63107-master

      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

            • Assignee:
              basbrands Bas Brands
              Reporter:
              tsala Helen Foster
              Peer reviewer:
              Mihail Geshoski
              Participants:
              Component watchers:
              David Jones, Adrian Greeve, Mihail Geshoski, Peter Dias, Bas Brands, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h