aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Spungin2013-04-19 10:15:07 (EDT)
committerSteven Spungin2013-04-19 10:15:07 (EDT)
commit7e1c699f7e1b84914a6d9563e3191c331bda7424 (patch)
treee9c1d58b9d0c579852394b58837ea81d55f577cb
parent0e2f6942348326fb90ea777f76422f5b3dfe0414 (diff)
downloadorg.eclipse.hudson.core-7e1c699f7e1b84914a6d9563e3191c331bda7424.zip
org.eclipse.hudson.core-7e1c699f7e1b84914a6d9563e3191c331bda7424.tar.gz
org.eclipse.hudson.core-7e1c699f7e1b84914a6d9563e3191c331bda7424.tar.bz2
Added link to 'configure job' on the build page sidebarrefs/changes/69/12069/1
-rw-r--r--hudson-core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly8
1 files changed, 8 insertions, 0 deletions
diff --git a/hudson-core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly b/hudson-core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly
index 67d9639..cd85e7e 100644
--- a/hudson-core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly
+++ b/hudson-core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly
@@ -53,4 +53,12 @@
</j:otherwise>
</j:choose>
<l:task icon="images/24x24/setting.png" href="${buildUrl.baseUrl}/configure" title="${h.hasPermission(it,it.UPDATE)?'%Configure':'%View Configuration'}"/>
+ <j:choose>
+ <j:when test="${h.hasPermission(it,it.CONFIGURE)}">
+ <l:task icon="images/24x24/setting.png" href="${it.upUrl}configure" title="${%Configure Job}" />
+ </j:when>
+ <j:when test="${h.hasPermission(it,it.EXTENDED_READ)}">
+ <l:task icon="images/24x24/setting.png" href="${it.upUrl}configure" title="${%ViewJob Configuration}" />
+ </j:when>
+ </j:choose>
</j:jelly>