annotate app/main/index/_updated_drafts.lua @ 110:10b7329ab0a2
add custom js code in dev config to auto open tracer
 | author | 
 Daniel Poelzleithner <poelzi@poelzi.org> | 
 | date | 
 Sun Sep 19 04:56:11 2010 +0200 (2010-09-19) | 
 | 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 |