Toggle navigation
Log-in
Սկիզբ
Page Index
User Index
Application Index
Global
Languages
Default Language
Wiki Index
Tour
Wiki source code of
Tour
Last modified by superadmin on 2017/01/09 13:03
Show line numbers
{{velocity}} #set ($columnsProperties = { 'doc.title': {"type": "text", "size":10,"link":"view"}, 'isActive': {"type": "text", "size":10, "sortable":true, "filterable": false}, 'targetPage': {"type":"text","size":10}, 'targetClass': {"type":"text","size":10}, '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} }) #set ($options = { 'className': 'TourCode.TourClass', 'resultPage': 'TourCode.TourLiveTableResults', 'translationPrefix': 'tour.livetable.', 'tagCloud': true, 'rowCount': 15, 'maxPages': 10, 'selectedColumn': 'doc.title', 'defaultOrder': 'asc', 'queryFilters': 'currentlanguage' }) #set ($columns = ['doc.title', 'isActive', 'targetPage']) #if ($isAdvancedUser) #set ($discard = $columns.add('targetClass')) #end #set ($discard = $columns.add('_actions')) #livetable('tour' $columns $columnsProperties $options) {{/velocity}}