Show last authors
1 {{velocity}}
2 = $msg.get('newsletter.add') =
3
4 {{createform itemspace="LettreInformation" itemtemplate="Code.NewsletterTemplate" /}}
5
6 ## and the list of existing newsletters
7 == $msg.get('newsletter.list') ==
8 #set($columns = ["doc.title", "_actions"])
9 #set($columnsProperties = {
10 "doc.title" : {"type" : "text", "link" : "view"},
11 "_actions" : {"actions": ["edit","delete"]}
12 })
13 #set($options = {
14 "resultPage" : "Code.NewsletterLiveTableResults",
15 "selectedColumn" : "doc.title",
16 "defaultOrder" : "desc",
17 "translationPrefix" : "newsletter.livetable.",
18 "extraParams" : "&space=${escapetool.url('LettreInformation')}&className=Code.NewsletterClass"
19 })
20 #livetable("elements" $columns $columnsProperties $options)
21
22 {{/velocity}}

Get Connected