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

Create a badge rendering method

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 5.0
    • Themes
    • 2
    • HQ 2025 Sprint I1.1 Moppies

      The new course overview page introduces a numeric badge to indicate new content. For example, it can indicate how many forum posts are unread or how many submissions need grading.

      To prevent each plugin from being too creative, this issue will implement a generic core renderer method to generate this kind of pill badge with a number inside. This will allow themes to customize the badges easily.

      Technical shaping

      There is an implementation proposal in this proof of concept commit: https://github.com/ferranrecio/moodle/commit/bbc8227223cef976788a9b8d5517ce7416a46bd0#diff-776bae453cd4ec196f372790e50b8badce51dc365f45f4487036a7da71feac1bR48

       

            Unassigned Unassigned
            tusefomal Ferran Recio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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