提交 998d1020 编写于 作者: K Kohsuke Kawaguchi

[JENKINS-21818] Merge pull request #1131

...@@ -83,6 +83,9 @@ Upcoming changes</a> ...@@ -83,6 +83,9 @@ Upcoming changes</a>
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-21394">issue 21394</a>) (<a href="https://issues.jenkins-ci.org/browse/JENKINS-21394">issue 21394</a>)
<li class=rfe> <li class=rfe>
Debian package now creates 'jenkins' group Debian package now creates 'jenkins' group
<li class=rfe>
Suppress fingerprint link if fingerprint record isn't available.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-21818">issue 21818</a>)
</ul> </ul>
</div><!--=TRUNK-END=--> </div><!--=TRUNK-END=-->
......
...@@ -75,10 +75,12 @@ THE SOFTWARE. ...@@ -75,10 +75,12 @@ THE SOFTWARE.
</td> </td>
<td> <td>
<j:if test="${x.readable}"> <j:if test="${x.readable}">
<a href="${x.href}/*fingerprint*/"> <j:if test="${app.fingerprintMap.ready}">
<img src="${imagesURL}/16x16/fingerprint.png" alt="fingerprint" height="16" width="16" /> <a href="${x.href}/*fingerprint*/">
</a> <img src="${imagesURL}/16x16/fingerprint.png" alt="fingerprint" height="16" width="16" />
<st:nbsp/> </a>
<st:nbsp/>
</j:if>
<a href="${x.href}/*view*/">${%view}</a> <a href="${x.href}/*view*/">${%view}</a>
</j:if> </j:if>
</td> </td>
......
...@@ -60,10 +60,12 @@ THE SOFTWARE. ...@@ -60,10 +60,12 @@ THE SOFTWARE.
${h.humanReadableByteSize(f.getFileSize())} ${h.humanReadableByteSize(f.getFileSize())}
</td> </td>
<td> <td>
<a href="${baseURL}artifact/${f.href}/*fingerprint*/"> <j:if test="${app.fingerprintMap.ready}">
<img src="${imagesURL}/16x16/fingerprint.png" alt="[fingerprint]" height="16" width="16"/> <a href="${baseURL}artifact/${f.href}/*fingerprint*/">
</a> <img src="${imagesURL}/16x16/fingerprint.png" alt="[fingerprint]" height="16" width="16"/>
<st:nbsp/> </a>
<st:nbsp/>
</j:if>
<a href="${baseURL}artifact/${f.href}/*view*/">${%view}</a> <a href="${baseURL}artifact/${f.href}/*view*/">${%view}</a>
</td> </td>
</tr> </tr>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册