提交 60839d4c 编写于 作者: K kohsuke

rely more on automatic help link

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17885 71c3de6d-444a-0410-be80-ed276b4c234a
上级 27aad4bd
......@@ -44,6 +44,7 @@ import hudson.ExtensionList;
import hudson.ExtensionPoint;
import hudson.DescriptorExtensionList;
import hudson.ExtensionListView;
import hudson.Extension;
import hudson.cli.CliEntryPoint;
import hudson.cli.CLICommand;
import hudson.cli.HelpCommand;
......@@ -1397,6 +1398,7 @@ public final class Hudson extends Node implements ItemGroup<TopLevelItem>, Stapl
}
public static final class DescriptorImpl extends NodeDescriptor {
@Extension
public static final DescriptorImpl INSTANCE = new DescriptorImpl();
public String getDisplayName() {
......
......@@ -30,15 +30,17 @@ THE SOFTWARE.
<st:include page="sidepanel.jelly" />
<l:main-panel xmlns:local="local">
<f:form method="post" name="config" action="configSubmit">
<j:set var="instance" value="${it}" />
<j:set var="descriptor" value="${instance.descriptor}" />
<f:entry title="${%Home directory}" help="/help/system-config/homeDirectory.html">
${it.rootDir}
</f:entry>
<f:entry title="${%System Message}" help="/help/system-config/systemMessage.html">
<f:textarea name="system_message" value="${it.systemMessage}" />
</f:entry>
<f:entry title="${%# of executors}" help="/help/system-config/numExecutors.html">
<input type="text" name="numExecutors" class="setting-input number"
value="${it.numExecutors}"/>
<f:entry title="${%# of executors}" field="numExecutors">
<f:textbox />
</f:entry>
<j:if test="${!empty(it.slaves)}">
<f:entry title="${%Labels}" help="/help/system-config/master-slave/label.html">
......
......@@ -31,9 +31,8 @@ THE SOFTWARE.
<f:textbox field="nodeDescription" />
</f:entry>
<f:entry title="${%# of executors}"
help="/help/system-config/master-slave/numExecutors.html">
<f:textbox field="numExecutors" />
<f:entry title="${%# of executors}" field="numExecutors">
<f:textbox />
</f:entry>
<f:entry title="${%Remote FS root}" help="/help/system-config/master-slave/remoteFS.html">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册