Skip to content
Permalink
Browse files
[JENKINS-11762] Changes to add a configurable display name to jobs
Originally-Committed-As: 484d952029b235d889a5d2e4bd9bc44a9707f7ff
  • Loading branch information
Albert So authored and kohsuke committed Jan 3, 2012
1 parent caea5a5 commit 1e65f8dc89cead65fbb9018f03d6a85bf76c5a88
@@ -1,7 +1,8 @@
<!--
The MIT License
Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Stephen Connolly
Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,
Stephen Connolly, Yahoo!, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -37,6 +38,10 @@ THE SOFTWARE.
<p:config-blockWhenUpstreamBuilding />
<p:config-blockWhenDownstreamBuilding />
<p:config-customWorkspace />
<f:entry title="${%Display Name}" help="/help/project-config/displayName.html">
<f:textbox name="displayName" value="${it.displayName}"
checkUrl="'${rootURL}/checkDisplayName?displayName='+escape(this.value)+'&amp;jobName=${it.name}'"/>
</f:entry>
</f:advanced>
</f:section>

@@ -27,7 +27,10 @@ THE SOFTWARE.
<l:layout title="${it.name}">
<st:include page="sidepanel.jelly" />
<l:main-panel>
<h1>${%Project} ${it.name}</h1>
<h1>${%Project} ${it.displayName}</h1>
<j:if test="${it.name!=it.displayName}">
${%Project name}: ${it.name}
</j:if>
<t:editableDescription permission="${it.CONFIGURE}"/>

<j:choose>

0 comments on commit 1e65f8d

Please sign in to comment.