提交 ae696da9 编写于 作者: K kohsuke

added <img alt="..."> for some of HTMLs. (issue #573)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3390 71c3de6d-444a-0410-be80-ed276b4c234a
上级 d68cb1d1
......@@ -68,7 +68,8 @@
<j:choose>
<j:when test="${dep.from!=null}">
<a href="${rootURL}/${dep.from.url}">
<img src="${rootURL}/images/16x16/${dep.from.buildStatusUrl}" />${dep.from.displayName}</a>
<img src="${rootURL}/images/16x16/${dep.from.buildStatusUrl}"
alt="${dep.from.iconColor.description}" />${dep.from.displayName}</a>
</j:when>
<j:otherwise>
?
......@@ -78,7 +79,8 @@
&#x2192; <!-- right arrow -->
<a href="${rootURL}/${dep.to.url}">
<img src="${rootURL}/images/16x16/${dep.to.buildStatusUrl}" />${dep.to.displayName}</a>
<img src="${rootURL}/images/16x16/${dep.to.buildStatusUrl}"
alt="${dep.to.iconColor.description}" />${dep.to.displayName}</a>
(<a href="${rootURL}/${dep.project.url}changes?from=${dep.fromId}&amp;to=${dep.toId}">detail</a>)
</li>
......
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt" xmlns:local="local">
<d:taglib uri="local">
<d:tag name="showItem">
<img src="${rootURL}/images/16x16/${item.buildStatusUrl}" alt="${item.iconColor.description}"/>
<a href="${h.getRelativeLinkTo(item)}">${item.displayName}</a>
</d:tag>
<d:tag name="relationship">
<j:if test="${lhs.fingerprintConfigured and rhs.fingerprintConfigured}">
<st:nbsp/>
......@@ -61,8 +65,7 @@
<ul style="list-style-type: none;">
<j:forEach var="item" items="${upstream}">
<li>
<img src="${rootURL}/images/16x16/${item.buildStatusUrl}"/>
<a href="${h.getRelativeLinkTo(item)}">${item.displayName}</a>
<local:showItem />
<local:relationship lhs="${item}" rhs="${it}"/>
</li>
</j:forEach>
......@@ -74,8 +77,7 @@
<ul style="list-style-type: none;">
<j:forEach var="item" items="${downstream}">
<li>
<img src="${rootURL}/images/16x16/${item.buildStatusUrl}"/>
<a href="${h.getRelativeLinkTo(item)}">${item.displayName}</a>
<local:showItem />
<local:relationship lhs="${it}" rhs="${item}"/>
</li>
</j:forEach>
......
......@@ -21,7 +21,8 @@
<tr>
<td data="${b.iconColor.ordinal()}">
<a href="${rootURL}/${b.url}">
<img src="${rootURL}/images/${iconSize}/${b.buildStatusUrl}" />
<img src="${rootURL}/images/${iconSize}/${b.buildStatusUrl}"
alt="${b.iconColor.description}"/>
</a>
</td>
<td>
......
......@@ -19,7 +19,7 @@
</div>
</j:if>
<img src="buildStatus" width="48" height="48" />
<img src="buildStatus" width="48" height="48" alt="${it.iconColor.description}" />
<d:invokeBody />
</h1>
</j:jelly>
\ No newline at end of file
......@@ -20,7 +20,8 @@
</j:when>
<j:otherwise>
<a href="${rootURL}/${r.url}">
<img src="${rootURL}/images/16x16/${r.buildStatusUrl}" />${jobName_}#<!-- -->${number}</a>
<img src="${rootURL}/images/16x16/${r.buildStatusUrl}"
alt="${r.iconColor.description}"/>${jobName_}#<!-- -->${number}</a>
</j:otherwise>
</j:choose>
</j:otherwise>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册