continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From batkin...@apache.org
Subject svn commit: r1679080 - /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupTabComponent.jsp
Date Tue, 12 May 2015 20:38:17 GMT
Author: batkinson
Date: Tue May 12 20:38:17 2015
New Revision: 1679080

URL: http://svn.apache.org/r1679080
Log:
Migrated project group tab component from jstl to struts tags.

Modified:
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupTabComponent.jsp

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupTabComponent.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupTabComponent.jsp?rev=1679080&r1=1679079&r2=1679080&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupTabComponent.jsp
(original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupTabComponent.jsp
Tue May 12 20:38:17 2015
@@ -19,8 +19,6 @@
 
 <%@ taglib uri="/struts-tags" prefix="s" %>
 <%@ taglib uri="http://www.extremecomponents.org" prefix="ec" %>
-<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
-
 <s:i18n name="localization.Continuum">
 
   <div id="h3">
@@ -43,50 +41,42 @@
         </s:url>
 
         <s:set name="tabName" value="tabName"/>
-        <c:choose>
-            <c:when test="${tabName != 'Summary'}">
+
+            <s:if test="tabName != 'Summary'">
                 <a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="${projectGroupSummaryUrl}"><s:text name="projectGroup.tab.summary"/></a>
-            </c:when>
-            <c:otherwise>
+            </s:if>
+            <s:else>
                 <b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em;"><s:text name="projectGroup.tab.summary"/></b>
-            </c:otherwise>
-        </c:choose>
+            </s:else>
 
-        <c:choose>
-            <c:when test="${tabName != 'Members'}">
+            <s:if test="tabName != 'Members'">
                 <a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="${projectGroupMembersUrl}"><s:text name="projectGroup.tab.members"/></a>
-            </c:when>
-            <c:otherwise>
+            </s:if>
+            <s:else>
                 <b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em;"><s:text name="projectGroup.tab.members"/></b>
-            </c:otherwise>
-        </c:choose>
+            </s:else>
 
-        <c:choose>
-            <c:when test="${tabName != 'BuildDefinitions'}">
+            <s:if test="tabName != 'BuildDefinitions'">
                 <a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="${projectGroupBuildDefinitionUrl}"><s:text name="projectGroup.tab.buildDefinitions"/></a>
-            </c:when>
-            <c:otherwise>
+            </s:if>
+            <s:else>
                 <b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em;"><s:text name="projectGroup.tab.buildDefinitions"/></b>
-            </c:otherwise>
-        </c:choose>
+            </s:else>
 
-        <c:choose>
-            <c:when test="${tabName != 'Notifier'}">
+            <s:if test="tabName != 'Notifier'">
                 <a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="${projectGroupNotifierUrl}"><s:text name="projectGroup.tab.notifiers"/></a>
-            </c:when>
-            <c:otherwise>
+            </s:if>
+            <s:else>
                 <b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em;"><s:text name="projectGroup.tab.notifiers"/></b>
-            </c:otherwise>
-        </c:choose>
-        
-        <c:choose>
-            <c:when test="${tabName != 'ReleaseResults'}">
+            </s:else>
+
+            <s:if test="tabName != 'ReleaseResults'">
                 <a style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em; text-decoration: none;" href="${projectGroupReleaseResultsUrl}"><s:text name="projectGroup.tab.releaseResults"/></a>
-            </c:when>
-            <c:otherwise>
+            </s:if>
+            <s:else>
                 <b style="border: 1px solid #DFDEDE; padding-left: 1em; padding-right:
1em;"><s:text name="projectGroup.tab.releaseResults"/></b>
-            </c:otherwise>
-        </c:choose>
+            </s:else>
+
       </p>
     </div>
   </div>



Mime
View raw message