-
Notifications
You must be signed in to change notification settings - Fork 168
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 #149 from timja/JENKINS-62817-tables-to-divs
JENKINS-62817 Tables to divs compat
- Loading branch information
Showing
4 changed files
with
35 additions
and
11 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
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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?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"> | ||
<st:documentation> | ||
This adds a wrapper allowing adding an ID to a field or group of fields that can be targeted by JavaScript | ||
The wrapper will be a `table` tag before form layout changes are merged: https://github.com/jenkinsci/jenkins/pull/3895, | ||
and a `div` tag after that. | ||
|
||
</st:documentation> | ||
|
||
<j:choose> | ||
<j:when test="${divBasedFormLayout}"> | ||
<div> | ||
<d:invokeBody/> | ||
</div> | ||
</j:when> | ||
<j:otherwise> | ||
<table> | ||
<d:invokeBody/> | ||
</table> | ||
</j:otherwise> | ||
</j:choose> | ||
|
||
</j:jelly> |
Empty file.