• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core

      At the moment, all icons are rendered using raw <img> tags. Rendering via a <l:icon> tag will provide more control.

          [JENKINS-23842] Wrap icon images in an <l:icon> tag

          Tom FENNELLY added a comment - - edited

          https://github.com/tfennelly/jenkins/compare/JENKINS-23842

          This branch also contains a "shim" plugin that can be used by plugins that want to get the benefits of the <l:icon> tag, while remaining backward compatible with older versions of Jenkins.

          Here's the credentials plugin modified to use the icon shim plugin: https://github.com/jenkinsci/credentials-plugin/compare/icon-tag-shim-test

          Tom FENNELLY added a comment - - edited https://github.com/tfennelly/jenkins/compare/JENKINS-23842 This branch also contains a "shim" plugin that can be used by plugins that want to get the benefits of the <l:icon> tag, while remaining backward compatible with older versions of Jenkins. Here's the credentials plugin modified to use the icon shim plugin: https://github.com/jenkinsci/credentials-plugin/compare/icon-tag-shim-test

          Tom FENNELLY added a comment -

          Pushed upstream in 42190ed

          Tom FENNELLY added a comment - Pushed upstream in 42190ed

            tfennelly Tom FENNELLY
            tfennelly Tom FENNELLY
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: