Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED JENKINS-10678] integrated the patch to improve the tag paramet…
…er drop-down list. apologies for the delay.
- Loading branch information
kohsuke
committed
Aug 23, 2011
1 parent
c54e086
commit b1fabc3
Showing
2 changed files
with
208 additions
and
55 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
96 changes: 51 additions & 45 deletions
96
...resources/hudson/scm/listtagsparameter/ListSubversionTagsParameterDefinition/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,45 +1,51 @@ | ||
<!-- | ||
- The MIT License | ||
- | ||
- Copyright (c) 2010-2011, Manufacture Francaise des Pneumatiques Michelin, | ||
- Romain Seguy | ||
- | ||
- Permission is hereby granted, free of charge, to any person obtaining a copy | ||
- of this software and associated documentation files (the "Software"), to deal | ||
- in the Software without restriction, including without limitation the rights | ||
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
- copies of the Software, and to permit persons to whom the Software is | ||
- furnished to do so, subject to the following conditions: | ||
- | ||
- The above copyright notice and this permission notice shall be included in | ||
- all copies or substantial portions of the Software. | ||
- | ||
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
- THE SOFTWARE. | ||
--> | ||
|
||
<!-- this is the page fragment displayed to set up a job --> | ||
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form"> | ||
<f:entry title="${%Name}" field="name"> | ||
<f:textbox name="parameter.name" value="${instance.name}" /> | ||
</f:entry> | ||
<f:entry title="${%Repository URL}" field="tagsDir"> | ||
<f:textbox name="parameter.tagsDir" value="${instance.tagsDir}" /> | ||
</f:entry> | ||
<f:entry title="${%Tags filter}" field="tagsFilter"> | ||
<f:textbox field="tagsFilter"/> | ||
</f:entry> | ||
<f:entry field="reverseByDate"> | ||
<f:checkbox name="reverseByDate" checked="${instance.reverseByDate}"/> | ||
<label class="attach-previous">${%Sort newest first}</label> | ||
</f:entry> | ||
<f:entry field="reverseByName"> | ||
<f:checkbox name="reverseByName" checked="${instance.reverseByName}"/> | ||
<label class="attach-previous">${%Sort Z to A}</label> | ||
</f:entry> | ||
</j:jelly> | ||
<!-- | ||
- The MIT License | ||
- | ||
- Copyright (c) 2010-2011, Manufacture Francaise des Pneumatiques Michelin, | ||
- Romain Seguy | ||
- | ||
- Permission is hereby granted, free of charge, to any person obtaining a copy | ||
- of this software and associated documentation files (the "Software"), to deal | ||
- in the Software without restriction, including without limitation the rights | ||
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
- copies of the Software, and to permit persons to whom the Software is | ||
- furnished to do so, subject to the following conditions: | ||
- | ||
- The above copyright notice and this permission notice shall be included in | ||
- all copies or substantial portions of the Software. | ||
- | ||
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
- THE SOFTWARE. | ||
--> | ||
|
||
<!-- this is the page fragment displayed to set up a job --> | ||
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form"> | ||
<f:entry title="${%Name}" field="name"> | ||
<f:textbox name="parameter.name" value="${instance.name}" /> | ||
</f:entry> | ||
<f:entry title="${%Repository URL}" field="tagsDir"> | ||
<f:textbox name="parameter.tagsDir" value="${instance.tagsDir}" /> | ||
</f:entry> | ||
<f:entry title="${%Tags filter}" field="tagsFilter"> | ||
<f:textbox field="tagsFilter"/> | ||
</f:entry> | ||
<f:entry title="${%Default Value}" field="defaultValue"> | ||
<f:textbox field="parameter.defaultValue" value="${instance.defaultValue}" /> | ||
</f:entry> | ||
<f:entry title="${%Maximum Tags to Display}" field="maxTags"> | ||
<f:textbox field="parameter.maxTags" value="${instance.maxTags}" /> | ||
</f:entry> | ||
<f:entry field="reverseByDate"> | ||
<f:checkbox name="reverseByDate" checked="${instance.reverseByDate}"/> | ||
<label class="attach-previous">${%Sort newest first}</label> | ||
</f:entry> | ||
<f:entry field="reverseByName"> | ||
<f:checkbox name="reverseByName" checked="${instance.reverseByName}"/> | ||
<label class="attach-previous">${%Sort Z to A}</label> | ||
</f:entry> | ||
</j:jelly> |