Skip to content

Commit

Permalink
Merge pull request #13 from opencloud/JENKINS-30799-scrollable-jobs-i…
Browse files Browse the repository at this point in the history
…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 713e8f9
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 713e8f9

Please sign in to comment.