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

Define a renderer for book

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.3.2, 2.8.1, 3.7
    • Book
    • MOODLE_23_STABLE, MOODLE_28_STABLE, MOODLE_37_STABLE
    • MDL-35441-master-2
    • Hide

      Test in Boost and Clean.

      Make sure the patch didn't cause any regressions and the Book pages/features work as expected (as previously). In to make sure that everything works as expected it would be nice if the following MDLQA tests are re-tested:

      https://tracker.moodle.org/browse/MDLQA-12812

      https://tracker.moodle.org/browse/MDLQA-10701

      https://tracker.moodle.org/browse/MDLQA-8123

      https://tracker.moodle.org/browse/MDLQA-7483

      https://tracker.moodle.org/browse/MDLQA-6256

      Additional test: 

      1. Log in as Admin.
      2. Create Course1
      3. Create a several Book resources
      4. Create several chapters and sub-chapters.
      5. Go to the course books index page (/mod/book/index.php?id=COURSEID1)
        • make sure all of the Book instances for the particular Course are properly displayed in the table.
      6. Create a new Course2 without any book resources.
      7. Go to the course books index page (/mod/book/index.php?id=COURSEID2)
        • make sure a notice is displayed stating that the course does not contain any book resources.
      Show
      Test in Boost and Clean. Make sure the patch didn't cause any regressions and the Book pages/features work as expected (as previously). In to make sure that everything works as expected it would be nice if the following MDLQA tests are re-tested: https://tracker.moodle.org/browse/MDLQA-12812 https://tracker.moodle.org/browse/MDLQA-10701 https://tracker.moodle.org/browse/MDLQA-8123 https://tracker.moodle.org/browse/MDLQA-7483 https://tracker.moodle.org/browse/MDLQA-6256 Additional test:  Log in as Admin. Create Course1 Create a several Book resources Create several chapters and sub-chapters. Go to the course books index page (/mod/book/index.php?id=COURSEID1) make sure all of the Book instances for the particular Course are properly displayed in the table . Create a new Course2 without any book resources. Go to the course books index page (/mod/book/index.php?id=COURSEID2) make sure a notice is displayed stating that the course does not contain any book resources.

      It will be great if we can define a renderer template for book.
      Specially book/tool/index.php needs a cleanup and it will be good if the renderer codes be reused there.

        1. renderer.php
          4 kB
          Service technique IRCF
        2. view.php
          6 kB
          Service technique IRCF

            Unassigned Unassigned
            ankit_frenz Ankit Agarwal
            Simey Lameze Simey Lameze
            Jun Pataleta Jun Pataleta
            Votes:
            10 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 10 minutes
                3h 10m

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