File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
hudson/model/userproperty/UserPropertyCategoryAppearanceAction
ConsoleUrlProviderGlobalConfiguration
ConsoleUrlProviderUserProperty Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 2525package jenkins .console ;
2626
2727import edu .umd .cs .findbugs .annotations .CheckForNull ;
28+ import edu .umd .cs .findbugs .annotations .NonNull ;
2829import hudson .Extension ;
2930import hudson .model .User ;
3031import hudson .model .UserProperty ;
3132import hudson .model .UserPropertyDescriptor ;
33+ import hudson .model .userproperty .UserPropertyCategory ;
3234import java .util .List ;
3335import org .jenkinsci .Symbol ;
3436import org .kohsuke .accmod .Restricted ;
@@ -70,6 +72,11 @@ public String getDescription() {
7072 return Messages .consoleUrlProviderDisplayName_Description ();
7173 }
7274
75+ @ Override
76+ public @ NonNull UserPropertyCategory getUserPropertyCategory () {
77+ return UserPropertyCategory .get (UserPropertyCategory .Appearance .class );
78+ }
79+
7380 @ Override
7481 public UserProperty newInstance (User user ) {
7582 return new ConsoleUrlProviderUserProperty ();
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ THE SOFTWARE.
3030 <l : layout permission =" ${app.ADMINISTER}" title =" ${%title}" >
3131 <st : include page =" sidepanel.jelly" it =" ${it.targetUser}" />
3232 <l : main-panel >
33- <f : form method =" post" action =" configSubmit" name =" config" >
33+ <f : form method =" post" action =" configSubmit" name =" config" class = " jenkins-form " >
3434 <h1 >
3535 ${%title}
3636 </h1 >
@@ -44,7 +44,7 @@ THE SOFTWARE.
4444 <j : when test =" ${hasItems}" >
4545 <j : forEach var =" d" items =" ${descriptors}" varStatus =" loop" >
4646 <j : if test =" ${d.enabled}" >
47- <f : section title =" ${d.displayName}" >
47+ <f : section title =" ${d.displayName}" description = " ${d.description} " >
4848 <j : set var =" it" value =" ${thisAction.targetUser}" />
4949 <j : set var =" descriptor" value =" ${d}" />
5050 <j : set var =" instance" value =" ${instances[d]}" />
Original file line number Diff line number Diff line change 11<?jelly escape-by-default =' true' ?>
22<j : jelly xmlns : j =" jelly:core" xmlns : f =" /lib/form" >
33 <j : if test =" ${descriptor.enabled}" >
4- <f : section title =" ${%Console URL Provider}" >
5- <f : block >
6- ${%description}
7- </f : block >
8- <f : entry >
9- <f : repeatableHeteroProperty field =" providers" hasHeader =" true" oneEach =" true" header =" ${%Providers}" />
10- </f : entry >
4+ <f : section title =" ${%Console URL Provider}" description =" ${%description}" >
5+ <f : repeatableHeteroProperty field =" providers" hasHeader =" true" oneEach =" true" header =" ${%Providers}" />
116 </f : section >
127 </j : if >
138</j : jelly >
Original file line number Diff line number Diff line change 55 <!-- Dummy field to always have an entry in form submissions so users can delete all providers. -->
66 <f : checkbox field =" unused" checked =" true" />
77 </f : invisibleEntry >
8- <f : entry >
9- <f : repeatableHeteroProperty field =" providers" hasHeader =" true" oneEach =" true" header =" ${%Providers}" />
10- </f : entry >
8+ <f : repeatableHeteroProperty field =" providers" hasHeader =" true" oneEach =" true" header =" ${%Providers}" />
119 </j : if >
1210</j : jelly >
You can’t perform that action at this time.
0 commit comments