continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r667242 - /continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp
Date Thu, 12 Jun 2008 21:38:44 GMT
Author: wsmoak
Date: Thu Jun 12 14:38:44 2008
New Revision: 667242

URL: http://svn.apache.org/viewvc?rev=667242&view=rev
Log:
[CONTINUUM-1796] Remove leading whitespace from add/edit notifier links on the project information
tab

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

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp?rev=667242&r1=667241&r2=667242&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectView.jsp Thu Jun 12
14:38:44 2008
@@ -111,13 +111,15 @@
                 <redback:ifAuthorized permission="continuum-modify-group" resource="${project.projectGroup.name}">
                   <c:choose>
                     <c:when test="${!pageScope.notifier.fromProject}">
-                      <a href='<ww:url value="${notifier.type}ProjectNotifierEdit.action">
+                      <ww:url id="editUrl" action="editProjectNotifier" namespace="/"
includeParams="none">
                         <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">${notifier.type}</ww:param>
-                        </ww:url>'>
-                        <img src="<ww:url value='/images/edit.gif' includeParams="none"/>"
alt="<ww:text name='edit'/>" title="<ww:text name='edit'/>" border="0" /></a>
+                      </ww:url>
+                      <ww:a href="%{editUrl}">
+                        <img src="<ww:url value='/images/edit.gif' includeParams="none"/>"
alt="<ww:text name="edit"/>" title="<ww:text name="edit"/>" border="0">
+                      </ww:a>
                     </c:when>
                     <c:otherwise>
                       <img src="<ww:url value='/images/edit_disabled.gif' includeParams="none"/>"
alt="<ww:text name='edit'/>" title="<ww:text name='edit'/>" border="0" />
@@ -132,13 +134,15 @@
                 <redback:ifAuthorized permission="continuum-modify-group" resource="${project.projectGroup.name}">
                   <c:choose>
                     <c:when test="${!pageScope.notifier.fromProject}">
-                      <a href='<ww:url value="/deleteProjectNotifier!default.action">
+                      <ww:url id="removeUrl" action="deleteProjectNotifier" namespace="/">
                         <ww:param name="projectId" value="project.id"/>
                         <ww:param name="projectGroupId" value="${project.projectGroup.id}"/>
                         <ww:param name="notifierType">${notifier.type}</ww:param>
                         <ww:param name="notifierId" value="${notifier.id}"/>
-                        </ww:url>'>
-                        <img src="<ww:url value='/images/delete.gif' includeParams="none"/>"
alt="<ww:text name='delete'/>" title="<ww:text name='delete'/>" border="0"></a>
+                    </ww:url>
+                    <ww:a href="%{removeUrl}">
+                      <img src="<ww:url value='/images/delete.gif' includeParams="none"/>"
alt="<ww:text name="delete"/>" title="<ww:text name="delete"/>" border="0">
+                    </ww:a>
                     </c:when>
                     <c:otherwise>
                       <img src="<ww:url value='/images/delete_disabled.gif' includeParams="none"/>"
alt="<ww:text name='edit'/>" title="<ww:text name='edit'/>" border="0" />



Mime
View raw message