mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-21 15:55:40 +00:00
Add a gap between icon and text in build links (#5887)
This commit is contained in:
1 parent
bea3cef24f
commit
2dfd74212c
1 file changed
+16
-16
@@ -40,21 +40,21 @@ THE SOFTWARE.
|
||||
</st:documentation>
|
||||
<j:set var="jobName_" value="${h.appendSpaceIfNotNull(jobName)}"/>
|
||||
<j:choose>
|
||||
<j:when test="${job==null}">
|
||||
${jobName_}#<!-- -->${number}
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
<j:set var="r" value="${job.getBuildByNumber(number)}" />
|
||||
<j:choose>
|
||||
<j:when test="${r==null}">
|
||||
<a href="${rootURL}/${job.url}" class="model-link">${jobName}</a>
|
||||
<j:when test="${job==null}">
|
||||
${jobName_}#<!-- -->${number}
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
<j:set var="r" value="${job.getBuildByNumber(number)}" />
|
||||
<j:choose>
|
||||
<j:when test="${r==null}">
|
||||
<a href="${rootURL}/${job.url}" class="model-link">${jobName}</a>
|
||||
#<!-- -->${number}
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
<a href="${attrs.href ?: rootURL+'/'+r.url}" class="model-link">
|
||||
<l:icon alt="${r.iconColor.description}" class="${r.buildStatusIconClassName} icon-sm"/>${jobName_}#<!-- -->${number}</a>
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
<a href="${attrs.href ?: rootURL+'/'+r.url}" class="model-link">
|
||||
<l:icon alt="${r.iconColor.description}" class="${r.buildStatusIconClassName} icon-sm"/><span class="jenkins-icon-adjacent">${jobName_}#<!-- -->${number}</span></a>
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
</j:jelly>
|
||||
Reference in new issue
Block a user