Navigation Menu

Skip to content

Commit

Permalink
[JENKINS-16339] Display Mode configuration options.
Browse files Browse the repository at this point in the history
Select one of these display modes:

- Truncate (legacy behavior): if the Job name is
  too long, truncate it and show "..."

- Fixed Width: same Widget width for all job name's
  lenghts. If the job name is too long, it will
  wrap to next line.

- Jenkins: act as a regular Jenkins Widget. If the job name
  is too long, it will extend the Widget's width.
  • Loading branch information
ialbors-pfc committed Jun 24, 2014
1 parent fc6ed57 commit 4ffdafe
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -9,5 +9,10 @@
<f:entry title="${%Show Possible Next Executions Widget}" field="showPossibleWidget">
<f:checkbox />
</f:entry>
<f:entry title="${%Widget Display mode}" help="/plugin/next-executions/displayMode.html">
<f:radio name="displayMode" value="1" title="${%Truncate}" checked="${descriptor.displayMode == 1}"/>
<f:radio name="displayMode" value="2" title="${%Fixed Width}" checked="${descriptor.displayMode == 2}"/>
<f:radio name="displayMode" value="3" title="${%Jenkins}" checked="${descriptor.displayMode == 3}"/>
</f:entry>
</f:section>
</j:jelly>

0 comments on commit 4ffdafe

Please sign in to comment.