提交 2f3e1fff 编写于 作者: T tfennelly

[FIXED JENKINS-24119] Fixed icon src path generation

For icons not defined in the IconSet
上级 0449883d
......@@ -71,7 +71,8 @@ THE SOFTWARE.
<l:icon class="${iconMetadata.classSpec}"/>
</j:when>
<j:otherwise>
<l:icon width="24" height="24" style="margin: 2px;" alt="" src="${icon}"/>
<l:icon src="${icon.startsWith('/') ? resURL+icon : imagesURL+'/48x48/'+icon}"
alt="" style="width: 48px; height: 48px; margin-right:1em;" />
</j:otherwise>
</j:choose>
</a>
......@@ -83,7 +84,7 @@ THE SOFTWARE.
</j:when>
<j:otherwise>
<l:icon src="${icon.startsWith('/') ? resURL+icon : imagesURL+'/48x48/'+icon}"
alt="" width="48" height="48" style="margin-right:1em" />
alt="" style="width: 48px; height: 48px; margin-right:1em;" />
</j:otherwise>
</j:choose>
</j:otherwise>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册