Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinston Prakash2013-05-22 01:13:58 -0400
committerWinston Prakash2013-05-22 01:13:58 -0400
commit0f1c49224733aeeffe2c64a91270de7e0b025b90 (patch)
treec1ba8be8e93f179507717e61aa66cf5cc3699613 /hudson-core/src/main/resources/hudson/model
parent8249fd0a5617b1787d683b649ab66c974d63af66 (diff)
downloadorg.eclipse.hudson.core-0f1c49224733aeeffe2c64a91270de7e0b025b90.tar.gz
org.eclipse.hudson.core-0f1c49224733aeeffe2c64a91270de7e0b025b90.tar.xz
org.eclipse.hudson.core-0f1c49224733aeeffe2c64a91270de7e0b025b90.zip
First pass implementation of UI for the Team Concept
Diffstat (limited to 'hudson-core/src/main/resources/hudson/model')
-rw-r--r--hudson-core/src/main/resources/hudson/model/Hudson/manage.jelly3
-rw-r--r--hudson-core/src/main/resources/hudson/model/View/sidepanel.jelly4
2 files changed, 7 insertions, 0 deletions
diff --git a/hudson-core/src/main/resources/hudson/model/Hudson/manage.jelly b/hudson-core/src/main/resources/hudson/model/Hudson/manage.jelly
index 7c8e35e3..e8616c42 100644
--- a/hudson-core/src/main/resources/hudson/model/Hudson/manage.jelly
+++ b/hudson-core/src/main/resources/hudson/model/Hudson/manage.jelly
@@ -77,6 +77,9 @@
${%Useful when you modified config files directly on disk.}
</local:feature>
+ <j:if test="${it.teamManager != null}">
+ <local:feature icon="user.png" href="teamManager/" title="${%Manage Teams}"/>
+ </j:if>
<local:feature icon="plugin.png" href="pluginCenter/" title="${%Manage Plugins}">
${%Add, remove, disable or enable plugins that can extend the functionality of Hudson.}
diff --git a/hudson-core/src/main/resources/hudson/model/View/sidepanel.jelly b/hudson-core/src/main/resources/hudson/model/View/sidepanel.jelly
index 6b3860b7..10d2a530 100644
--- a/hudson-core/src/main/resources/hudson/model/View/sidepanel.jelly
+++ b/hudson-core/src/main/resources/hudson/model/View/sidepanel.jelly
@@ -30,6 +30,10 @@
<l:tasks>
<l:task icon="images/24x24/new-package.png" href="${rootURL}/${it.viewUrl}newJob" title="${%New Job}" permission="${it.itemCreatePermission}" it="${app}" />
<l:task icon="images/24x24/setting.png" href="${rootURL}/manage" title="${%Manage Hudson}" permission="${app.ADMINISTER}" it="${app}" />
+
+ <j:if test="${app.teamManager.isCurrentUserTeamAdmin}">
+
+ </j:if>
<j:choose>
<j:when test="${it.class.name=='hudson.model.AllView'}">
<l:task icon="images/24x24/user.png" href="${rootURL}/people/" title="${%People}" />

Back to the top