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

Manual space added after span in ratingcount class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Trivial Trivial
    • None
    • 3.1
    • Ratings, Themes
    • MOODLE_31_STABLE

      There are a couple spots in the ratings portion lib/outputrenderers.php where a manual space is inserted to create a visual separation. See e.g. at line 2233:

                  $aggregatehtml .= html_writer::tag('span', $countstr, array('id'=>"ratingcount{$rating->itemid}", 'class' => 'ratingcount')).' ';
      

      This should be done with CSS especially because if this element is wrapped in a link and your theme underlines links you get an ugly underlined space.

            Unassigned Unassigned
            cfulton Charles Fulton
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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