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

Allow plugins to specify separate icons for Moodle >= 4.0 and Moodle <= 3.9

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.0
    • Themes

      As a Plugin developer, we would very much like to design an icon for Activities matching the style of Moodle 4.0. But since a new icon would look very out of place in older moodle versions, we would suddenly need to sustain two plugin versions for each activity plugin, which isn't worth the effort.

      My idea is for Moodle 4.0+ to use the (for example) "modname/icon4" pix if it exists, and the normal "modname/icon" pix otherwise. That way, if there is no "icon4" pix, everything works as it was before and the "icon" is used everywhere, but if there is an "icon4" pix, the "icon4" is used in Moodle 4.0+, and the normal "icon" is used in Moodle <= 3.11.

            timhunt Tim Hunt
            justusdieckmann Justus Dieckmann
            Votes:
            12 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

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