remove the "0 new", it's not very useful

master
joey 2006-09-07 23:54:37 +00:00
parent 516eaeafbd
commit 2fd2646e66
1 changed files with 3 additions and 1 deletions

View File

@ -100,7 +100,9 @@ sub preprocess (@) { #{{{
return "<a href=\"".$feed->{url}."\">".$feed->{name}."</a>: ".
"<i>".$feed->{message}."</i> (".$feed->{numposts}.
" stored posts; ".$feed->{newposts}." new)";
" stored posts".
($feed->{newposts} ? "; ".$feed->{newposts}." new" : "").
")";
} # }}}
sub delete (@) { #{{{