Skip to content

Commit c516ca4

Browse files
JENKINS-71919 Use modern icon class in subproject page
1 parent 9a306fc commit c516ca4

File tree

1 file changed

+3
-2
lines changed
  • src/main/resources/hudson/plugins/parameterizedtrigger/BuildInfoExporterAction

1 file changed

+3
-2
lines changed

src/main/resources/hudson/plugins/parameterizedtrigger/BuildInfoExporterAction/summary.groovy

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ if (System.getProperty(DISABLE_ACTION_VIEWS_KEY) != null) {
66
return
77
}
88

9+
def l = namespace(lib.LayoutTagLib)
10+
911
def builds = my.triggeredBuilds
1012
if(builds.size() > 0) {
1113
h2("Subproject Builds")
@@ -18,8 +20,7 @@ if(builds.size() > 0) {
1820
text(item.project.displayName)
1921
}
2022
a(href:"${rootURL}/${item.url}", class:"model-link") {
21-
img(src:"${imagesURL}/16x16/${item.buildStatusUrl}",
22-
alt:"${item.iconColor.description}", height:"16", width:"16")
23+
l.icon(class: "${item.iconColor.iconClassName} icon-sm", alt:"${item.iconColor.description}")
2324
text(item.displayName)
2425
}
2526
}

0 commit comments

Comments
 (0)