continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r440914 - in /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp: navigations/ProjectGroupMenu.jsp projectGroupPermissions.jsp
Date Thu, 07 Sep 2006 00:44:42 GMT
Author: carlos
Date: Wed Sep  6 17:44:42 2006
New Revision: 440914

URL: http://svn.apache.org/viewvc?view=rev&rev=440914
Log:
Fix project group tabbed menu

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupPermissions.jsp

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp?view=diff&rev=440914&r1=440913&r2=440914
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/ProjectGroupMenu.jsp
Wed Sep  6 17:44:42 2006
@@ -16,15 +16,54 @@
     <ww:url id="projectGroupNotifierUrl" action="projectGroupNotifier">
       <ww:param name="projectGroupId" value="projectGroupId"/>
     </ww:url>
-<%--
     <ww:url id="projectGroupPermissionsUrl" action="projectGroupPermissions">
       <ww:param name="projectGroupId" value="projectGroupId"/>
     </ww:url>
---%>
 
-    <ww:a cssClass="tabMenuEnabled" href="%{projectGroupSummaryUrl}">Summary</ww:a>
-    <ww:a cssClass="tabMenuEnabled" href="%{projectGroupManageUrl}">Manage</ww:a>
-    <b class="tabMenuDisabled">Build Definition</b>
-    <ww:a cssStyle="tabMenuEnabled" href="%{projectGroupNotifierUrl}">Notifier</ww:a>
+    <c:choose>
+      <c:when test="${param.tab == 'summary'}">
+        <b class="tabMenuDisabled">Summary</b>
+      </c:when>
+      <c:otherwise>
+        <ww:a cssClass="tabMenuEnabled" href="%{projectGroupSummaryUrl}">Summary</ww:a>
+      </c:otherwise>
+    </c:choose>
+
+    <c:choose>
+      <c:when test="${param.tab == 'members'}">
+        <b class="tabMenuDisabled">Members</b>
+      </c:when>
+      <c:otherwise>
+        <ww:a cssClass="tabMenuEnabled" href="%{projectGroupMembersUrl}">Members</ww:a>
+      </c:otherwise>
+    </c:choose>
+
+    <c:choose>
+      <c:when test="${param.tab == 'buildDefinition'}">
+        <b class="tabMenuDisabled">Build Definitions</b>
+      </c:when>
+      <c:otherwise>
+        <ww:a cssClass="tabMenuEnabled" href="%{projectGroupBuildDefinitionUrl}">Build
Definitions</ww:a>
+      </c:otherwise>
+    </c:choose>
+
+    <c:choose>
+      <c:when test="${param.tab == 'notifier'}">
+        <b class="tabMenuDisabled">Notifiers</b>
+      </c:when>
+      <c:otherwise>
+        <ww:a cssClass="tabMenuEnabled" href="%{projectGroupNotifierUrl}">Notifiers</ww:a>
+      </c:otherwise>
+    </c:choose>
+
+    <c:choose>
+      <c:when test="${param.tab == 'permissions'}">
+        <b class="tabMenuDisabled">Permissions</b>
+      </c:when>
+      <c:otherwise>
+        <ww:a cssClass="tabMenuEnabled" href="%{projectGroupPermissionsUrl}">Permissions</ww:a>
+      </c:otherwise>
+    </c:choose>
+
   </p>
 </div>

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupPermissions.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupPermissions.jsp?view=diff&rev=440914&r1=440913&r2=440914
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupPermissions.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/projectGroupPermissions.jsp
Wed Sep  6 17:44:42 2006
@@ -13,7 +13,7 @@
       <div id="h3">
 
         <jsp:include page="/navigations/ProjectGroupMenu.jsp">
-          <jsp:param name="tab" value="summary"/>
+          <jsp:param name="tab" value="permissions"/>
         </jsp:include>
 
         <h3>Project Group Information</h3>



Mime
View raw message