提交 90dbe1b8 编写于 作者: K Kohsuke Kawaguchi

oops

上级 14786e03
...@@ -90,7 +90,7 @@ public enum BallColor implements StatusIcon { ...@@ -90,7 +90,7 @@ public enum BallColor implements StatusIcon {
} }
public String getImageOf(String size) { public String getImageOf(String size) {
return Stapler.getCurrentRequest().getContextPath()+'/'+Hudson.RESOURCE_PATH+"/images/"+size+'/'+image; return Stapler.getCurrentRequest().getContextPath()+Hudson.RESOURCE_PATH+"/images/"+size+'/'+image;
} }
/** /**
......
...@@ -26,7 +26,7 @@ public final class StockStatusIcon extends AbstractStatusIcon { ...@@ -26,7 +26,7 @@ public final class StockStatusIcon extends AbstractStatusIcon {
} }
public String getImageOf(String size) { public String getImageOf(String size) {
return Stapler.getCurrentRequest().getContextPath()+'/'+Hudson.RESOURCE_PATH+"/images/"+size+'/'+image; return Stapler.getCurrentRequest().getContextPath()+Hudson.RESOURCE_PATH+"/images/"+size+'/'+image;
} }
public String getDescription() { public String getDescription() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册