continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ri...@apache.org
Subject svn commit: r486064 - in /maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp: deleteNotifier.jsp projectView.jsp
Date Tue, 12 Dec 2006 08:57:28 GMT
Author: rinku
Date: Tue Dec 12 00:57:27 2006
New Revision: 486064

URL: http://svn.apache.org/viewvc?view=rev&rev=486064
Log:
o  Project Group Ids are passed to project notifier edit and delete screens.

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/deleteNotifier.jsp
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/deleteNotifier.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/deleteNotifier.jsp?view=diff&rev=486064&r1=486063&r2=486064
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/deleteNotifier.jsp
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/deleteNotifier.jsp
Tue Dec 12 00:57:27 2006
@@ -20,9 +20,10 @@
           </p>
         </div>
         <div class="functnbar3">
-          <ww:form action="deleteNotifier.action" method="post">
+          <ww:form action="deleteProjectNotifier.action" method="post">
             <ww:hidden name="notifierId"/>
             <ww:hidden name="projectId"/>
+            <ww:hidden name="projectGroupId" />
             <c1:submitcancel value="%{getText('delete')}" cancel="%{getText('cancel')}"/>
           </ww:form>
         </div>

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp?view=diff&rev=486064&r1=486063&r2=486064
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp Tue
Dec 12 00:57:27 2006
@@ -86,17 +86,20 @@
             <ec:column property="actions" title="&nbsp;">
                <pss:ifAuthorized permission="continuum-modify-group" resource="${project.projectGroup.name}">
                 <c:if test="${!pageScope.notifier.fromProject}">
-                    <a href='<ww:url value="${notifier.type}NotifierEdit!default.action">
-                      <ww:param name="projectId" value="project.id"/>
+                    <a href='<ww:url value="${notifier.type}ProjectNotifierEdit!default.action">
                       <ww:param name="notifierId" value="${notifier.id}"/>
+                      <ww:param name="projectId" value="project.id"/>
+                      <ww:param name="projectGroupId" value="${project.projectGroup.id}"/>
+                      <ww:param name="notifierType" value="${notifier.type}"/>
                       </ww:url>'>
                       <img src="<ww:url value='/images/edit.gif'/>" alt="<ww:text
name='edit'/>" title="<ww:text name='edit'/>" border="0" />
                     </a>
                     &nbsp;
-                    <a href='<ww:url value="/deleteNotifier!default.action">
+                    <a href='<ww:url value="/deleteProjectNotifier!default.action">
                       <ww:param name="projectId" value="project.id"/>
-                      <ww:param name="notifierId" value="${notifier.id}"/>
+                      <ww:param name="projectGroupId" value="${project.projectGroup.id}"/>
                       <ww:param name="notifierType" value="${notifier.type}"/>
+                      <ww:param name="notifierId" value="${notifier.id}"/>
                       </ww:url>'>
                       <img src="<ww:url value='/images/delete.gif'/>" alt="<ww:text
name='delete'/>" title="<ww:text name='delete'/>" border="0">
                     </a>
@@ -107,8 +110,9 @@
         </ec:table>
         <div class="functnbar3">
            <pss:ifAuthorized permission="continuum-modify-group" resource="${project.projectGroup.name}">
-          <ww:form action="addNotifier!default.action" method="post">
+          <ww:form action="addProjectNotifier!default.action" method="post">
             <input type="hidden" name="projectId" value="<ww:property value="project.id"/>"/>
+            <input type="hidden" name="projectGroupId" value="<ww:property value="project.projectGroup.id"/>"/>
             <ww:submit value="%{getText('add')}"/>
           </ww:form>
           </pss:ifAuthorized>



Mime
View raw message