提交 4d261b8a 编写于 作者: K kohsuke

don't show [+] if the nested view doesn't support it.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14060 71c3de6d-444a-0410-be80-ed276b4c234a
上级 1dd3a2ac
......@@ -6,11 +6,19 @@
<tr>
<td colspan="2">
<div style="${indenter.getRelativeShift(job)}">
<a href="#">
<img src="${imagesURL}/tree/plus.png" state="plus" width="14" height="14" alt="" class="fold-control treeview-fold-control"
url="${rootURL}/${v.url}/ajaxRows?depth=${h.ifThenElse(depth!=null,depth+1,1)}"/>
<st:adjunct includes="lib.hudson.projectViewNested" />
</a>
<j:choose>
<j:when test="${request.getView(v,'ajaxRows.jelly')==null}">
<img src="${imagesURL}/none.gif" state="plus" width="14" height="14" alt="" />
</j:when>
<j:otherwise>
<!-- if nested view supports ajaxRows -->
<a href="#">
<img src="${imagesURL}/tree/plus.png" state="plus" width="14" height="14" alt="" class="fold-control treeview-fold-control"
url="${rootURL}/${v.url}/ajaxRows?depth=${h.ifThenElse(depth!=null,depth+1,1)}"/>
<st:adjunct includes="lib.hudson.projectViewNested" />
</a>
</j:otherwise>
</j:choose>
<img src="${imagesURL}/${iconSize}/folder.gif" style="margin-left:4px" alt="" />
</div>
</td>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册