Skip to content
Permalink
Browse files

[FIXED JENKINS-16530] Improve icon caching.

  • Loading branch information
jglick committed Jan 29, 2013
1 parent 446783f commit a9c0080ebdb5ce99cfa47cef674dc59a4035e779
Showing with 6 additions and 3 deletions.
  1. +3 −0 changelog.html
  2. +2 −2 core/src/main/resources/lib/layout/task.jelly
  3. +1 −1 war/pom.xml
@@ -61,6 +61,9 @@
<li class=bug>
Bogus “Build Record Root Directory” inadequately diagnosed.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-16457">issue 16457</a>)
<li class=bug>
Plugin icons in the sidebar were not being properly cached.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-16530">issue 16530</a>)
<li class=bug>
API typo <code>DependecyDeclarer</code> corrected.
<li class=bug>
@@ -79,7 +79,7 @@ THE SOFTWARE.
<j:when test="${enabled==false}">
<div class="task disabled">
<span>
<img width="24" height="24" style="margin: 2px;" alt="" src="${rootURL}${icon.startsWith('images/') ? h.resourcePath : ''}/${icon}"/>
<img width="24" height="24" style="margin: 2px;" alt="" src="${rootURL}${icon.startsWith('images/') || icon.startsWith('plugin/') ? h.resourcePath : ''}/${icon}"/>
</span>
<st:nbsp />

@@ -97,7 +97,7 @@ THE SOFTWARE.
</j:when>
<j:otherwise>
<div class="task">
<j:set var="icon" value="${rootURL}${icon.startsWith('images/') ? h.resourcePath : ''}/${icon}"/>
<j:set var="icon" value="${rootURL}${icon.startsWith('images/') || icon.startsWith('plugin/') ? h.resourcePath : ''}/${icon}"/>
${taskTags!=null and attrs.contextMenu!='false' ? taskTags.add(href,icon,title) : null}

<a href="${href}" onclick="${attrs.onclick}">
@@ -296,7 +296,7 @@ THE SOFTWARE.
<artifactItem>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>translation</artifactId>
<version>1.8</version>
<version>1.10</version>
<type>hpi</type>
</artifactItem>
<artifactItem>

0 comments on commit a9c0080

Please sign in to comment.
You can’t perform that action at this time.