Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from KostyaSha/JENKINS-26118
Use optionalBlock instead checkbox.
- Loading branch information
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 7 additions & 4 deletions
11
src/main/resources/com/chikli/hudson/plugin/naginator/NaginatorOptOutProperty/config.jelly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
<?jelly escape-by-default='true'?> | ||
<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"> | ||
<f:entry field="optOut"> | ||
<f:checkbox title="Don't let user manually re-trigger this job"/> | ||
</f:entry> | ||
|
||
<f:optionalBlock name="optOut" | ||
title="Don't let user manually re-trigger this job" | ||
checked="${instance.optOut}" | ||
inline="true" | ||
help="plugin/naginator/help-optOut.html" | ||
/> | ||
</j:jelly> |