Wiki source code of $services.localization.render('xe.panels')
Version 1.1 by Mark Kohlmann on 2020/04/02 23:25
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | #if($hasAdmin) | ||
| 3 | = $services.localization.render('xe.panels.create') = | ||
| 4 | {{include reference="Panels.CreatePanel"/}} | ||
| 5 | #end | ||
| 6 | = $services.localization.render('panels.available') = | ||
| 7 | #if ($hasAdmin) | ||
| 8 | {{box}} | ||
| 9 | [[image:icon:wand]] $services.localization.render('xe.panels.customize') [[$services.localization.render('panelwizard.panelwizard')>>Panels.PanelWizard]]. | ||
| 10 | {{/box}} | ||
| 11 | #end | ||
| 12 | #set($columns = ["name", "description", "type", "category", '_actions']) | ||
| 13 | #set($columnsProperties = { | ||
| 14 | "name" : { "type" : "text", "link" : "view" }, | ||
| 15 | "description" : { "type" : "text", "html" : "true" }, | ||
| 16 | "type" : { "type" : "list" }, | ||
| 17 | "category" : { "type" : "list" }, | ||
| 18 | '_actions': {'html': true, 'sortable': false, 'actions': ['edit', 'delete']} | ||
| 19 | }) | ||
| 20 | #set($options = { | ||
| 21 | "className":"Panels.PanelClass", | ||
| 22 | "selectedColumn":"name", | ||
| 23 | "defaultOrder":"asc", | ||
| 24 | "translationPrefix" : "panels.", | ||
| 25 | "rowCount": 30, | ||
| 26 | "queryFilters": "currentlanguage" | ||
| 27 | }) | ||
| 28 | #livetable("panels" $columns $columnsProperties $options) | ||
| 29 | {{/velocity}} |