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

Book module do not display icon for book and chapter print

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.3, 2.3
    • 2.2.2
    • Book
    • None
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      No testing instructions

      Show
      No testing instructions

      Book module do not display icon for book and chapter print. Acctually these icon are generated but the browser do not display them becasuse they are overlayed but "Turn editing on" list item.
      The solution is to edit book/tool/print/ and change the empty string parameter on lines 51 and 53 to something meaningfull. I suggest folowing changes to lib.php code.

      line 51
      $booknode->add(get_string('printbook', 'booktool_print'), $action, navigation_node::TYPE_SETTING, null, null, new pix_icon('book', '', 'booktool_print', array('class'=>'icon')));

      line 53
      $booknode->add(get_string('printchapter', 'booktool_print'), $action, navigation_node::TYPE_SETTING, null, null, new pix_icon('chapter', '', 'booktool_print', array('class'=>'icon')));

            skodak Petr Skoda
            petko81 Peter Svec (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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