提交 1419749e 编写于 作者: K Kohsuke Kawaguchi

hooked up the 3rd party license ack to the UI

上级 0ae70779
package hudson;
import hudson.model.ManagementLink;
/**
* Show "About Jenkins" link.
*
* @author Kohsuke Kawaguchi
*/
@Extension
public class AboutJenkins extends ManagementLink {
@Override
public String getIconFileName() {
return "help.png";
}
@Override
public String getUrlName() {
return "about";
}
public String getDisplayName() {
return Messages.AboutJenkins_DisplayName();
}
@Override
public String getDescription() {
return Messages.AboutJenkins_Description();
}
}
......@@ -24,10 +24,10 @@ THE SOFTWARE.
<!-- 3rd party license acknowledgements and -->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:s="/lib/form">
<l:layout title="${%about(it.VERSION)}">
<st:include page="sidepanel.jelly" />
<l:layout title="${%about(app.VERSION)}">
<st:include it="${app}" page="sidepanel.jelly" />
<l:main-panel>
<h1>${%about(it.VERSION)}</h1>
<h1>${%about(app.VERSION)}</h1>
<p>
${%blurb}
</p>
......
......@@ -50,3 +50,5 @@ Util.pastTime={0}
FilePath.TildaDoesntWork=''~'' is only supported in a Unix shell and nowhere else.
PluginManager.DisplayName=Plugin Manager
AboutJenkins.DisplayName=About Jenkins
AboutJenkins.Description=See the version and license information
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册