Update of /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/webapp/editors/newsletter/module In directory james.mmbase.org:/tmp/cvs-serv29284
Modified Files: Tag: b1_5 report_newsletter_overview_list.jsp Log Message: CMSC-1134) Newsletter project: add edit-icon to newsletter overview; remove Send when empty; add warning by removal,add edit-icon to newsletter overview See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/webapp/editors/newsletter/module See also: http://www.mmbase.org/jira/browse/CMSC-1134 Index: report_newsletter_overview_list.jsp =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/webapp/editors/newsletter/module/report_newsletter_overview_list.jsp,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -u -b -r1.5 -r1.5.2.1 --- report_newsletter_overview_list.jsp 22 Sep 2008 03:58:21 -0000 1.5 +++ report_newsletter_overview_list.jsp 3 Nov 2008 07:29:32 -0000 1.5.2.1 @@ -6,11 +6,11 @@ <table> <thead> <th width="3%"></th> - <th width="5%"></th> + <th width="12%"></th> <th width="15%"><fmt:message key="newsletteroverview.newsletter"/></th> <th width="15%"><fmt:message key="globalstats.total.publications"/></th> <th width="15%"><fmt:message key="globalstats.total.sentsubscriptions"/></th> - <th width="47%"><fmt:message key="globalstats.total.subscriptions"/></th> + <th width="40%"><fmt:message key="globalstats.total.subscriptions"/></th> </thead> <tbody> <c:forEach items="${results}" var="result"> @@ -19,7 +19,8 @@ <input type="checkbox" name="ids" value="${result.id}"/> </td> <td> - <a href="NewsletterDelete.do?number=${result.id}&remove='true'&forward='manage'"><img src="../gfx/icons/delete.png" align="top" title="<fmt:message key='site.newsletter.remove'/>"/></a> + <a href="../site/NavigatorPanel.do?nodeId=${result.id}"><img height="16" width="16" title="<fmt:message key='site.newsletter.edit'/>" src="../gfx/icons/edit.gif"/></a> + <a href="javascript:ask('${result.id}')"><img src="../gfx/icons/delete.png" align="top" title="<fmt:message key='site.newsletter.remove'/>"/></a> <a href="NewsletterEdit.do?number=${result.id}&forward=manage"><img src="../gfx/icons/edit_defaults.png" align="top" title="<fmt:message key='site.newsletter.edit'/>"/></a> </td> <td> @@ -62,4 +63,8 @@ return false; } + + function ask(idk){ + location.href=" NewsletterDelete.do?number="+idk+"&remove='true'&forward='manage'"; + } </script> \ No newline at end of file _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs