Code source wiki de Lettres d'information documentaire
Modifié par Admin User le 21 novembre 2024
Masquer les derniers auteurs
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | {{velocity}} | |
2 | #if("$!xcontext.action" == "inline") | ||
3 | $!doc.display('description', $doc.getObject('CNFPTCode.IntroClass')) | ||
4 | #else | ||
5 | $!doc.getObject('CNFPTCode.IntroClass').getProperty('description').value | ||
6 | #end | ||
7 | ## and the list of existing newsletters | ||
8 | == $msg.get('cnfpt.newsletter.list') == | ||
9 | #set($columns = ["doc.title", "_latestInvoice", "_subscriptionActions"]) | ||
10 | #set($columnsProperties = { | ||
11 | "doc.title" : {"type" : "text", "link" : "view"}, | ||
12 | "_latestInvoice" : {"type" : "text", "link" : "none"}, | ||
13 | "_subscriptionActions" : {"type" : "text", "link" : "field", "sortable" : false, "filterable" : false} | ||
14 | }) | ||
15 | #set($options = { | ||
16 | "resultPage" : "CNFPTCode.NewsletterLiveTableResults", | ||
11.2 | 17 | "rowCount": 20, | |
1.1 | 18 | "translationPrefix" : "cnfpt.newsletter.livetable.", | |
19 | "extraParams" : "&space=${escapetool.url('LettreInformation')}&className=CNFPTCode.NewsletterClass" | ||
20 | }) | ||
21 | #livetable("elements" $columns $columnsProperties $options) | ||
22 | {{/velocity}} |