From: joey Date: Sun, 12 Aug 2007 08:52:12 +0000 (+0000) Subject: hide if postsparkline not enabled X-Git-Tag: 2.6~168 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=40a3196f9364e8417b87fb282a546e7af43eb135;p=ikiwiki.git hide if postsparkline not enabled --- diff --git a/doc/todo.mdwn b/doc/todo.mdwn index f5d76b4c5..5b339d51c 100644 --- a/doc/todo.mdwn +++ b/doc/todo.mdwn @@ -7,6 +7,8 @@ post it to [[bugs]] instead. Link items to [[todo/done]] when done. feedpages="created_after(todo/supporting_comments_via_disussion_pages)" actions=yes archive=yes rootpage="todo" postformtext="Add a new todo item titled:" show=0]] +[[if test="enabled(postsparkline)" +then=""" * [[postsparkline pages="todo/* and !todo/done and !link(todo/done) and !link(patch) and !link(wishlist) and !todo/*/*" max=60 formula=perday style=bar barwidth=2 barspacing=1 height=13]] @@ -14,3 +16,4 @@ number of items added per day * [[postsparkline pages="todo/* and !todo and link(todo/done)" max=60 formula=perday style=bar barwidth=2 barspacing=1 height=13]] number of items fixed per day +"""]]