Skip to content
Permalink
Browse files

[JENKINS-30799] Make job list in list view section config scrollable.

  • Loading branch information
Richard Thomas authored and tbingaman committed Sep 28, 2015
1 parent 390cdc4 commit e3ba74d17fc441e9f3a28742494a08d6b4a85f51
Showing with 9 additions and 7 deletions.
  1. +9 −7 src/main/resources/hudson/plugins/sectioned_view/ListViewSection/config.jelly
@@ -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}"

0 comments on commit e3ba74d

Please sign in to comment.
You can’t perform that action at this time.