提交 ac4f8c6d 编写于 作者: J Jesse Glick

Always show the section header.

上级 81ed2a04
...@@ -23,9 +23,9 @@ THE SOFTWARE. ...@@ -23,9 +23,9 @@ THE SOFTWARE.
--> -->
<?jelly escape-by-default='true'?> <?jelly escape-by-default='true'?>
<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:local="local"> <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:local="local">
<d:taglib uri="local"> <f:section title="${descriptor.displayName}">
<d:tag name="section"> <d:taglib uri="local">
<f:section title="${descriptor.displayName}"> <d:tag name="section">
<f:entry title="${%title(descriptor.displayName)}" description="${%description(descriptor.displayName)}"> <f:entry title="${%title(descriptor.displayName)}" description="${%description(descriptor.displayName)}">
<f:repeatable name="tool" var="instance" items="${descriptor.installations}" <f:repeatable name="tool" var="instance" items="${descriptor.installations}"
add="${%label.add(descriptor.displayName)}" header="${descriptor.displayName}"> add="${%label.add(descriptor.displayName)}" header="${descriptor.displayName}">
...@@ -41,27 +41,27 @@ THE SOFTWARE. ...@@ -41,27 +41,27 @@ THE SOFTWARE.
</table> </table>
</f:repeatable> </f:repeatable>
</f:entry> </f:entry>
</f:section> </d:tag>
</d:tag> </d:taglib>
</d:taglib> <j:choose>
<j:choose> <j:when test="${size(descriptor.installations)==0}">
<j:when test="${size(descriptor.installations)==0}"> <local:section/>
<local:section/> </j:when>
</j:when> <j:otherwise>
<j:otherwise> <tr> <!-- f:advanced does not work well here because of placement in third column -->
<tr> <!-- f:advanced does not work well here because of placement in third column --> <td colspan="3">
<td colspan="3"> <st:adjunct includes="lib.form.advanced.advanced"/>
<st:adjunct includes="lib.form.advanced.advanced"/> <div class="advancedLink" style="text-align:left">
<div class="advancedLink" style="text-align:left"> <input type="button" value="${%title(descriptor.displayName)}..." class="advanced-button advancedButton"/>
<input type="button" value="${%title(descriptor.displayName)}..." class="advanced-button advancedButton"/> </div>
</div> <table class="advancedBody">
<table class="advancedBody"> <tbody>
<tbody> <local:section/>
<local:section/> </tbody>
</tbody> </table>
</table> </td>
</td> </tr>
</tr> </j:otherwise>
</j:otherwise> </j:choose>
</j:choose> </f:section>
</j:jelly> </j:jelly>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册