continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r760274 - /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp
Date Tue, 31 Mar 2009 00:30:44 GMT
Author: ctan
Date: Tue Mar 31 00:30:44 2009
New Revision: 760274

URL: http://svn.apache.org/viewvc?rev=760274&view=rev
Log:
[CONTINUUM-2161] fixed release results state on the Release Results tab

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

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp?rev=760274&r1=760273&r2=760274&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp
(original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupReleaseResults.jsp
Tue Mar 31 00:30:44 2009
@@ -59,12 +59,14 @@
             <ec:column property="startTime" title="releaseResults.startTime" cell="date"/>
             <ec:column property="endTime" title="releaseResults.endTime" cell="date"/>
             <ec:column property="resultCode" title="releaseResults.state">
-              <s:if test="pageScope.result.resultCode == 0">
-                <s:text name="releaseViewResult.success"/>
-              </s:if>
-              <s:else>
-                <s:text name="releaseViewResult.error"/>
-              </s:else>
+              <c:choose>
+                <c:when test="${pageScope.result.resultCode == 0}">
+                  <s:text name="releaseViewResult.success"/>
+                </c:when>
+                <c:otherwise>
+                  <s:text name="releaseViewResult.error"/>
+                </c:otherwise>
+              </c:choose>
             </ec:column>
             <ec:column property="actions" title="&nbsp;">
                <s:url id="viewReleaseResultUrl" action="viewReleaseResult">



Mime
View raw message