continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r586403 - in /maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp: components/projectSummaryComponent.jsp projectGroupSummary.jsp
Date Fri, 19 Oct 2007 12:33:04 GMT
Author: evenisse
Date: Fri Oct 19 05:33:03 2007
New Revision: 586403

URL: http://svn.apache.org/viewvc?rev=586403&view=rev
Log:
Put delete buttons last in the line 

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectSummaryComponent.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.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=586403&r1=586402&r2=586403&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
Fri Oct 19 05:33:03 2007
@@ -234,12 +234,12 @@
           <tr>
             <td>
               <redback:ifAuthorized permission="continuum-modify-group" resource="${projectGroupName}">
-                <input type="button" name="delete-projects" value="<ww:text name="projectGroup.deleteProjects"/>"
onclick="document.forms.projectsForm.methodToCall.value='remove';document.forms.projectsForm.submit();"
/>
                 <ww:select theme="simple" name="buildDef" list="buildDefinitions" 
                            listKey="value" listValue="key" headerKey="-1" headerValue="%{getText('projectGroup.buildDefinition.label')}"
                            onchange="$('projectsForm').buildDefinitionId.value=$('buildDef').value"
/>
                 <input type="button" name="build-projects" value="<ww:text name="projectGroup.buildProjects"/>"
onclick="$('projectsForm').methodToCall.value='build';document.forms.projectsForm.submit();"
/>
                 <input type="button" name="cancel-builds" value="<ww:text name="projectGroup.cancelBuilds"/>"
onclick="document.forms.projectsForm.action='cancelBuilds.action';document.forms.projectsForm.submit();"
/>
+                <input type="button" name="delete-projects" value="<ww:text name="projectGroup.deleteProjects"/>"
onclick="document.forms.projectsForm.methodToCall.value='remove';document.forms.projectsForm.submit();"
/>
               </redback:ifAuthorized>
             </td>
           </tr>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp?rev=586403&r1=586402&r2=586403&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp
Fri Oct 19 05:33:03 2007
@@ -126,14 +126,6 @@
               </redback:ifAuthorized>
             </td>
             <td>
-              <redback:ifAuthorized permission="continuum-remove-group" resource="${projectGroup.name}">
-                <form action="removeProjectGroup.action" method="post">
-                  <input type="hidden" name="projectGroupId" value="<ww:property value="projectGroupId"/>"/>
-                  <input type="submit" name="remove" value="<ww:text name="projectGroup.deleteGroup"/>"/>
-                </form>
-              </redback:ifAuthorized>
-            </td>
-            <td>
               <redback:ifAuthorized permission="continuum-build-group" resource="${projectGroup.name}">
                 <form action="releaseProjectGroup.action" method="post">
                   <input type="hidden" name="projectGroupId" value="<ww:property value="projectGroupId"/>"/>
@@ -155,6 +147,14 @@
 
                 <input type="button" value="Add" onclick="goToAddProject()"/>
               </redback:ifAnyAuthorized>
+            </td>
+            <td>
+              <redback:ifAuthorized permission="continuum-remove-group" resource="${projectGroup.name}">
+                <form action="removeProjectGroup.action" method="post">
+                  <input type="hidden" name="projectGroupId" value="<ww:property value="projectGroupId"/>"/>
+                  <input type="submit" name="remove" value="<ww:text name="projectGroup.deleteGroup"/>"/>
+                </form>
+              </redback:ifAuthorized>
             </td>
           </tr>
         </table>



Mime
View raw message