You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ev...@apache.org on 2006/09/27 16:12:09 UTC

svn commit: r450449 - /maven/continuum/trunk/continuum-webapp/src/main/webapp/components/buildNowCell.jsp

Author: evenisse
Date: Wed Sep 27 07:12:09 2006
New Revision: 450449

URL: http://svn.apache.org/viewvc?view=rev&rev=450449
Log:
Fix tag

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/webapp/components/buildNowCell.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/components/buildNowCell.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/components/buildNowCell.jsp?view=diff&rev=450449&r1=450448&r2=450449
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/components/buildNowCell.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/components/buildNowCell.jsp Wed Sep 27 07:12:09 2006
@@ -1,10 +1,10 @@
 <%@ taglib uri="/webwork" prefix="ww" %>
-<%@ taglib uri="http://www.extremecomponents.org" prefix="ec" %>
 <%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
+<%@ taglib uri="continuum" prefix="c1" %>
 
 <ww:i18n name="localization.Continuum">
 
-  <c:if test="${projectGroup.permissions.execute}">
+  <c1:ifAuthorized permission="buildProject">
     <c:choose>
       <c:when test="${!project.inQueue and ( project.state gt 0 ) and ( project.state lt 5 )}">
         <ww:url id="buildProjectUrl" action="buildProject" namespace="/">
@@ -18,6 +18,6 @@
         <img src="<c:url value='/images/buildnow_disabled.gif'/>" alt="Build Now" title="Build Now" border="0">
       </c:otherwise>
     </c:choose>
-  </c:if>
+  </c1:ifAuthorized>
 
 </ww:i18n>