hide if postsparkline not enabled

master
joey 2007-08-12 08:52:12 +00:00
parent 851fcc1782
commit 40a3196f93
1 changed files with 3 additions and 0 deletions

View File

@ -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
"""]]