continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r486092 - in /maven/continuum/trunk/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/component/BuildDefinitionSummaryAction.java webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp
Date Tue, 12 Dec 2006 11:02:45 GMT
Author: evenisse
Date: Tue Dec 12 03:02:44 2006
New Revision: 486092

URL: http://svn.apache.org/viewvc?view=rev&rev=486092
Log:
Fix edit/delete links for build definitions

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/component/BuildDefinitionSummaryAction.java
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/component/BuildDefinitionSummaryAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/component/BuildDefinitionSummaryAction.java?view=diff&rev=486092&r1=486091&r2=486092
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/component/BuildDefinitionSummaryAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/component/BuildDefinitionSummaryAction.java
Tue Dec 12 03:02:44 2006
@@ -58,6 +58,7 @@
         {
             projectGroup = getContinuum().getProjectGroupByProjectId( projectId );
             projectGroupId = projectGroup.getId();
+            projectGroupName = projectGroup.getName();
             groupBuildDefinitionSummaries = gatherGroupBuildDefinitionSummaries( projectGroupId
);
             projectBuildDefinitionSummaries = gatherProjectBuildDefinitionSummaries( projectId
);
 

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp?view=diff&rev=486092&r1=486091&r2=486092
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/buildDefinitionSummaryComponent.jsp
Tue Dec 12 03:02:44 2006
@@ -28,9 +28,7 @@
               <ww:param name="projectId">${pageScope.buildDefinitionSummary.projectId}</ww:param>
               <ww:param name="buildDefinitionId">${pageScope.buildDefinitionSummary.id}</ww:param>
             </ww:url>
-            <ww:a href="%{editUrl}">
-              <ww:text name="edit"/>
-            </ww:a>
+            <ww:a href="%{editUrl}"><img src="<ww:url value='/images/edit.gif'/>"
alt="<ww:text name='edit'/>" title="<ww:text name='edit'/>" border="0"></ww:a>
           </pss:ifAuthorized>
           <pss:ifAuthorized permission="continuum-remove-project-build-definition" resource="${projectGroupName}">
             <ww:url id="removeUrl" action="removeProjectBuildDefinition" namespace="/">
@@ -38,9 +36,7 @@
               <ww:param name="buildDefinitionId">${pageScope.buildDefinitionSummary.id}</ww:param>
               <ww:param name="confirmed" value="false"/>
             </ww:url>
-            <ww:a href="%{removeUrl}">
-              <ww:text name="delete"/>
-            </ww:a>
+            <ww:a href="%{removeUrl}"><img src="<ww:url value='/images/delete.gif'/>"
alt="<ww:text name='delete'/>" title="<ww:text name='delete'/>" border="0"></ww:a>
           </pss:ifAuthorized>
         </ww:if>
         <ww:else>
@@ -49,9 +45,7 @@
               <ww:param name="projectGroupId">${pageScope.buildDefinitionSummary.projectGroupId}</ww:param>
               <ww:param name="buildDefinitionId">${pageScope.buildDefinitionSummary.id}</ww:param>
             </ww:url>
-            <ww:a href="%{editUrl}">
-              <ww:text name="edit"/>
-            </ww:a>
+            <ww:a href="%{editUrl}"><img src="<ww:url value='/images/edit.gif'/>"
alt="<ww:text name='edit'/>" title="<ww:text name='edit'/>" border="0"></ww:a>
           </pss:ifAuthorized>
           <pss:ifAuthorized permission="continuum-remove-group-build-definition">
             <ww:url id="removeUrl" action="removeGroupBuildDefinition" namespace="/">
@@ -59,9 +53,7 @@
               <ww:param name="buildDefinitionId">${pageScope.buildDefinitionSummary.id}</ww:param>
               <ww:param name="confirmed" value="false"/>
             </ww:url>
-            <ww:a href="%{removeUrl}">
-              <ww:text name="delete"/>
-            </ww:a>
+            <ww:a href="%{removeUrl}"><img src="<ww:url value='/images/delete.gif'/>"
alt="<ww:text name='delete'/>" title="<ww:text name='delete'/>" border="0"></ww:a>
           </pss:ifAuthorized>
         </ww:else>
       </ec:column>



Mime
View raw message