提交 a42ebcc8 编写于 作者: D Daniel Beck

[FIXED JENKINS-21818] Only show fingerprint links if any exist.

上级 279a46c6
......@@ -75,10 +75,12 @@ THE SOFTWARE.
</td>
<td>
<j:if test="${x.readable}">
<a href="${x.href}/*fingerprint*/">
<img src="${imagesURL}/16x16/fingerprint.png" alt="fingerprint" height="16" width="16" />
</a>
<st:nbsp/>
<j:if test="${app.fingerprintMap.ready}">
<a href="${x.href}/*fingerprint*/">
<img src="${imagesURL}/16x16/fingerprint.png" alt="fingerprint" height="16" width="16" />
</a>
<st:nbsp/>
</j:if>
<a href="${x.href}/*view*/">${%view}</a>
</j:if>
</td>
......
......@@ -60,10 +60,12 @@ THE SOFTWARE.
${h.humanReadableByteSize(f.getFileSize())}
</td>
<td>
<a href="${baseURL}artifact/${f.href}/*fingerprint*/">
<img src="${imagesURL}/16x16/fingerprint.png" alt="[fingerprint]" height="16" width="16"/>
</a>
<st:nbsp/>
<j:if test="${app.fingerprintMap.ready}">
<a href="${baseURL}artifact/${f.href}/*fingerprint*/">
<img src="${imagesURL}/16x16/fingerprint.png" alt="[fingerprint]" height="16" width="16"/>
</a>
<st:nbsp/>
</j:if>
<a href="${baseURL}artifact/${f.href}/*view*/">${%view}</a>
</td>
</tr>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册