Skip to content

Commit

Permalink
JENKINS-71919 Use modern icon class in subproject page
Browse files Browse the repository at this point in the history
  • Loading branch information
gjabouley-invn committed Nov 6, 2023
1 parent 9a306fc commit c516ca4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ if (System.getProperty(DISABLE_ACTION_VIEWS_KEY) != null) {
return
}

def l = namespace(lib.LayoutTagLib)

def builds = my.triggeredBuilds
if(builds.size() > 0) {
h2("Subproject Builds")
Expand All @@ -18,8 +20,7 @@ if(builds.size() > 0) {
text(item.project.displayName)
}
a(href:"${rootURL}/${item.url}", class:"model-link") {
img(src:"${imagesURL}/16x16/${item.buildStatusUrl}",
alt:"${item.iconColor.description}", height:"16", width:"16")
l.icon(class: "${item.iconColor.iconClassName} icon-sm", alt:"${item.iconColor.description}")
text(item.displayName)
}
}
Expand Down

0 comments on commit c516ca4

Please sign in to comment.