liquid_feedback_frontend
annotate app/main/index/_updated_drafts.lua @ 136:166fd10c7e81
fixes bug #234
test if the constructed selector first before adding a paginator
test if the constructed selector first before adding a paginator
author | Daniel Poelzleithner <poelzi@poelzi.org> |
---|---|
date | Tue Oct 05 21:51:59 2010 +0200 (2010-10-05) |
parents | 733f65c0c0a0 |
children | 3e2e233330d9 |
rev | line source |
---|---|
bsw@75 | 1 local initiatives_selector = param.get("initiatives_selector", "table") |
bsw@57 | 2 if initiatives_selector:count() > 0 then |
bsw@57 | 3 ui.container{ |
bsw@57 | 4 attr = { style = "font-weight: bold;" }, |
bsw@57 | 5 content = _"Open initiatives you are supporting which has been updated their draft:" |
bsw@57 | 6 } |
bsw@57 | 7 |
bsw@57 | 8 execute.view{ |
bsw@57 | 9 module = "initiative", |
bsw@57 | 10 view = "_list", |
bsw@57 | 11 params = { initiatives_selector = initiatives_selector } |
bsw@57 | 12 } |
bsw@57 | 13 end |