Skip to content
Permalink
Browse files

Merge pull request #13 from opencloud/JENKINS-30799-scrollable-jobs-i…

…n-list-view-config

[JENKINS-30799] Make job list in list view section config scrollable.
  • Loading branch information
tbingaman committed Oct 5, 2015
2 parents 390cdc4 + e3ba74d commit 713e8f9709da11b2485cd32f3b95dc7c4c0897d4
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 713e8f9

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