Skip to content

Commit

Permalink
Reset
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Nov 15, 2021
1 parent 8f8c39b commit 97278e3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions core/src/main/resources/lib/form/advanced.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,29 @@ THE SOFTWARE.
-->

<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout">
<st:documentation>
Expandable section that shows "advanced..." button by default.
Upon clicking it, a section unfolds, and the HTML rendered by the body of this tag
appears.

<st:attribute name="title" use="optional">
Caption of the button. By default "Advanced"
</st:attribute>
<st:attribute name="style" use="optional">
Additional styles
</st:attribute>
<st:attribute name="align" use="optional">
'left' or 'center' to align the button to left or center.
</st:attribute>
</st:documentation>
<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">
<st:documentation>
Expandable section that shows "advanced..." button by default.
Upon clicking it, a section unfolds, and the HTML rendered by the body of this tag
appears.

<st:attribute name="title" use="optional">
Caption of the button. By default "Advanced"
</st:attribute>
<st:attribute name="style" use="optional">
Additional styles
</st:attribute>
<st:attribute name="align" use="optional">
'left' or 'center' to align the button to left or center.
</st:attribute>
</st:documentation>

<div class='jenkins-form-item tr'>
<st:adjunct includes="lib.form.advanced.advanced"/>

<div class="advancedLink">
<j:set var="id" value="${h.generateId()}"/>
<span style="display: none" id="${id}">
<div class="advancedLink" style="${attrs.align!=null?('text-align:'+attrs.align):''}">
<j:set var="id" value="${h.generateId()}"/>
<span style="display: none" id="${id}">
<l:icon class="icon-notepad icon-md" tooltip="${%customizedFields}"/>
</span>
<st:nbsp />
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/form/descriptorRadioList.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ THE SOFTWARE.
title="${d.displayName}" checked="${instance.descriptor==d}">
<j:set var="descriptor" value="${d}" />
<j:set var="instance" value="${instance.descriptor==d?instance:null}" />
<f:class-entry descriptor="${descriptor}" />
<f:class-entry descriptor="${descriptor}" />
<st:include from="${d}" page="${d.configPage}" optional="true" />
</f:radioBlock>
</j:forEach>
Expand Down

0 comments on commit 97278e3

Please sign in to comment.