Skip to content

Commit

Permalink
[JENKINS-30799] Make job list in list view section config scrollable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Thomas authored and Timothy Bingaman committed Oct 5, 2015
1 parent 390cdc4 commit e3ba74d
Showing 1 changed file with 9 additions and 7 deletions.
Expand Up @@ -33,13 +33,15 @@ THE SOFTWARE.
<f:enum>${it.description}</f:enum>
</f:entry>
<f:entry title="${%Jobs}">
<j:set var="escapeRegEx" value="\."/>
<j:set var="replaceString" value="_"/>
<j:forEach var="job" items="${h.getAllTopLevelItems(it.ownerItemGroup)}">
<f:checkbox name='sections.${h.getRelativeNameFrom(job, it.ownerItemGroup, false).replaceAll(escapeRegEx, replaceString)}' checked="${instance.contains(job, it.ownerItemGroup)}" />
<label class="attach-previous">${h.getRelativeNameFrom(job, it.ownerItemGroup, true)}</label>
<br/>
</j:forEach>
<div class="listview-jobs">
<j:set var="escapeRegEx" value="\."/>
<j:set var="replaceString" value="_"/>
<j:forEach var="job" items="${h.getAllTopLevelItems(it.ownerItemGroup)}">
<f:checkbox name='sections.${h.getRelativeNameFrom(job, it.ownerItemGroup, false).replaceAll(escapeRegEx, replaceString)}' checked="${instance.contains(job, it.ownerItemGroup)}" />
<label class="attach-previous">${h.getRelativeNameFrom(job, it.ownerItemGroup, true)}</label>
<br/>
</j:forEach>
</div>
</f:entry>

<f:optionalBlock name="useincluderegex" title="${%Use a regular expression to include jobs into the view}"
Expand Down

0 comments on commit e3ba74d

Please sign in to comment.