Update of /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher In directory james.mmbase.org:/tmp/cvs-serv27516/src/java/com/finalist/newsletter/publisher
Modified Files: NewsletterPublisher.java Log Message: CMSC-1134) Newsletter project: add edit-icon to newsletter overview; remove Send when empty; add warning by removal,remove Send when empty See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher See also: http://www.mmbase.org/jira/browse/CMSC-1134 Index: NewsletterPublisher.java =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/publisher/NewsletterPublisher.java,v retrieving revision 1.35 retrieving revision 1.36 diff -u -b -r1.35 -r1.36 --- NewsletterPublisher.java 14 Oct 2008 11:22:44 -0000 1.35 +++ NewsletterPublisher.java 3 Nov 2008 05:54:06 -0000 1.36 @@ -154,7 +154,7 @@ String content = " "; if ((subscription.getTerms() == null) || (subscription.getTerms().size() == 0) || !cache.contains(url)) { int articleCounts = NewsletterUtil.countArticlesByNewsletter(publication.getNewsletterId()); - if (articleCounts == 0 && publication.getNewsletter().getSendempty()) { + if (articleCounts == 0 ) { content = publication.getNewsletter().getTxtempty(); } else { log.info("url---->" + url); _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs