continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r582857 - /maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
Date Mon, 08 Oct 2007 16:03:46 GMT
Author: evenisse
Date: Mon Oct  8 09:03:38 2007
New Revision: 582857

URL: http://svn.apache.org/viewvc?rev=582857&view=rev
Log:
Fix build number link if buildId <0, it appears when all build results was deleted.

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

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp?rev=582857&r1=582856&r2=582857&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
Mon Oct  8 09:03:38 2007
@@ -75,7 +75,7 @@
       <ec:column property="version" title="summary.projectTable.version" width="12%"/>
       <ec:column property="buildNumber" title="summary.projectTable.build" width="2%"
style="text-align: center">
         <c:choose>
-          <c:when test="${project.buildNumber gt 0}">
+          <c:when test="${project.buildNumber gt 0 && project.buildInSuccessId
gt 0}">
             <redback:ifAuthorized permission="continuum-view-group" resource="${projectGroupName}">
               <ww:url id="buildResult" action="buildResult">
                 <ww:param name="projecGroupId" value="${project.projectGroupId}"/>
@@ -88,6 +88,9 @@
             <redback:elseAuthorized>
               ${project.buildNumber}
             </redback:elseAuthorized>
+          </c:when>
+          <c:when test="${project.buildNumber gt 0 && project.buildInSuccessId
lt 0}">
+              ${project.buildNumber}
           </c:when>
           <c:otherwise>
             &nbsp;



Mime
View raw message