From 38ff4f08be317ff28222d7d8e1eaa66ea534c3ff Mon Sep 17 00:00:00 2001 From: tfennelly Date: Fri, 8 Aug 2014 14:51:22 +0100 Subject: [PATCH] Use IconSpec.getIconClassName() instead of Action.getIconFileName() where possible [JENKINS-24170] --- core/pom.xml | 2 +- .../main/resources/hudson/model/AbstractProject/main.jelly | 3 ++- core/src/main/resources/jenkins/model/Jenkins/manage.jelly | 5 +++-- core/src/main/resources/lib/hudson/actions.jelly | 5 +++-- core/src/main/resources/lib/hudson/summary.jelly | 6 +++++- core/src/main/resources/lib/layout/task.jelly | 7 ++++++- 6 files changed, 20 insertions(+), 8 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index a8de663126..bc83964194 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -51,7 +51,7 @@ THE SOFTWARE. org.jenkins-ci.plugins.icon-shim icon-set - 1.0.2 + 1.0.3 ${project.groupId} diff --git a/core/src/main/resources/hudson/model/AbstractProject/main.jelly b/core/src/main/resources/hudson/model/AbstractProject/main.jelly index 6df6709acf..b62984982f 100644 --- a/core/src/main/resources/hudson/model/AbstractProject/main.jelly +++ b/core/src/main/resources/hudson/model/AbstractProject/main.jelly @@ -35,7 +35,8 @@ THE SOFTWARE. - + + ${act.displayName} diff --git a/core/src/main/resources/jenkins/model/Jenkins/manage.jelly b/core/src/main/resources/jenkins/model/Jenkins/manage.jelly index 5bac7f576c..5ea5bb2692 100644 --- a/core/src/main/resources/jenkins/model/Jenkins/manage.jelly +++ b/core/src/main/resources/jenkins/model/Jenkins/manage.jelly @@ -84,8 +84,9 @@ THE SOFTWARE.
- - + + + diff --git a/core/src/main/resources/lib/hudson/actions.jelly b/core/src/main/resources/lib/hudson/actions.jelly index c3f0b0675c..1a50cfc43e 100644 --- a/core/src/main/resources/lib/hudson/actions.jelly +++ b/core/src/main/resources/lib/hudson/actions.jelly @@ -37,8 +37,9 @@ THE SOFTWARE. the action object itself is available in the 'action' variable --> - - + + diff --git a/core/src/main/resources/lib/hudson/summary.jelly b/core/src/main/resources/lib/hudson/summary.jelly index 78767dc9d0..b4fc33c176 100644 --- a/core/src/main/resources/lib/hudson/summary.jelly +++ b/core/src/main/resources/lib/hudson/summary.jelly @@ -58,7 +58,11 @@ THE SOFTWARE. that, we try deriving it by URL (assuming it's a full icon path). If all that fails, we just fall back to the old method by passing a 'src' attribute to the tag. --> - + + + + + diff --git a/core/src/main/resources/lib/layout/task.jelly b/core/src/main/resources/lib/layout/task.jelly index 167adcdf01..8c3a096263 100644 --- a/core/src/main/resources/lib/layout/task.jelly +++ b/core/src/main/resources/lib/layout/task.jelly @@ -105,7 +105,12 @@ THE SOFTWARE. --> - + + + + + +