Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Foster2014-06-05 13:05:51 -0400
committerBob Foster2014-06-05 13:05:51 -0400
commitde2d5dbb99f8df4561b032cf891d58e8e987a8c0 (patch)
treeebbcd272094e4d9730161217ddcb39d312422fa4 /hudson-core/src/main/resources/hudson
parent4c556502bc5db1633f823cbbb0cce14cd3be3e1f (diff)
downloadorg.eclipse.hudson.core-de2d5dbb99f8df4561b032cf891d58e8e987a8c0.tar.gz
org.eclipse.hudson.core-de2d5dbb99f8df4561b032cf891d58e8e987a8c0.tar.xz
org.eclipse.hudson.core-de2d5dbb99f8df4561b032cf891d58e8e987a8c0.zip
Suppress Workspace icon on job page when no workspace
Diffstat (limited to 'hudson-core/src/main/resources/hudson')
-rw-r--r--hudson-core/src/main/resources/hudson/model/AbstractProject/main.jelly8
1 files changed, 5 insertions, 3 deletions
diff --git a/hudson-core/src/main/resources/hudson/model/AbstractProject/main.jelly b/hudson-core/src/main/resources/hudson/model/AbstractProject/main.jelly
index 91ac23d9..53180359 100644
--- a/hudson-core/src/main/resources/hudson/model/AbstractProject/main.jelly
+++ b/hudson-core/src/main/resources/hudson/model/AbstractProject/main.jelly
@@ -26,9 +26,11 @@
${act.displayName}
</t:summary>
</j:forEach>
- <t:summary icon="folder.png" href="ws/" permission="${it.WORKSPACE}">
- ${%Workspace}
- </t:summary>
+ <j:if test="${it.workspace != null}">
+ <t:summary icon="folder.png" href="ws/" permission="${it.WORKSPACE}">
+ ${%Workspace}
+ </t:summary>
+ </j:if>
<t:artifactList caption="${%Last Successful Artifacts}"
build="${it.lastSuccessfulBuild}" baseURL="lastSuccessfulBuild/"

Back to the top