You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by jf...@apache.org on 2007/02/16 03:08:37 UTC

svn commit: r508281 - /portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp

Author: jford
Date: Thu Feb 15 18:08:36 2007
New Revision: 508281

URL: http://svn.apache.org/viewvc?view=rev&rev=508281
Log:
Wrap tabs when there are more than 4

Modified:
    portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp

Modified: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp?view=diff&rev=508281&r1=508280&r2=508281
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp (original)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/tabs.jsp Thu Feb 15 18:08:36 2007
@@ -12,7 +12,7 @@
 --%>
 <table border="0" cellpadding="0" cellspacing="0" width="100%">
   <tr>
-  	<c:forEach var="tab" items="${tab_items}">
+  	<c:forEach var="tab" items="${tab_items}" varStatus="tabStatus">
   		<td <c:if test="${tab == currentTab}"> class="LTabLeft" </c:if>
   		    <c:if test="${tab != currentTab}"> class="LTabLeftLow" </c:if>
   		     style="font-size:1pt;" nowrap="true">
@@ -47,6 +47,10 @@
   	        style="font-size:1pt;" nowrap="true">
   	        &nbsp;
   	    </td>
+  	    <c:if test="${tabStatus.count % 4 == 0}">
+          </tr>
+          <tr>
+        </c:if>
   	</c:forEach>
   </tr>
 </table>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org