Исходный код вики Материалы
Скрыть последних авторов
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{velocity}} |
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 | |||
| 9 | |||
| 10 | |||
| 11 | == Методические документы, словари, энциклопедии == | ||
| 12 | #set ($columnsProperties1 = { | ||
| 13 | 'doc.title': {"link":"view"}, | ||
| 14 | 'doc.location': {"html":true}, | ||
| 15 | 'doc.date': {}, | ||
| 16 | 'doc.author': {"link":"author"}, | ||
| 17 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 18 | }) | ||
| 19 | #set ($options1 = { | ||
| 20 | 'className': 'SUZ.Materials.Code.MethodologicalDocumentClass', | ||
| 21 | 'translationPrefix': 'materials.livetable.', | ||
| 22 | 'tagCloud': true, | ||
| 23 | 'rowCount': 15, | ||
| 24 | 'maxPages': 10, | ||
| 25 | 'selectedColumn': 'doc.title', | ||
| 26 | 'defaultOrder': 'asc' | ||
| 27 | }) | ||
| 28 | #set ($columns1 = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions']) | ||
| 29 | #livetable('materials1' $columns1 $columnsProperties1 $options1) | ||
| 30 | |||
| 31 | == Формы сбора данных == | ||
| 32 | |||
| 33 | #set ($columnsProperties2 = { | ||
| 34 | 'doc.title': {"link":"view"}, | ||
| 35 | 'doc.location': {"html":true}, | ||
| 36 | 'doc.date': {}, | ||
| 37 | 'doc.author': {"link":"author"}, | ||
| 38 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 39 | }) | ||
| 40 | #set ($options2 = { | ||
| 41 | 'className': 'SUZ.Materials.Code.OtherDocumentClass', | ||
| 42 | 'translationPrefix': 'materials.livetable.', | ||
| 43 | 'tagCloud': true, | ||
| 44 | 'rowCount': 15, | ||
| 45 | 'maxPages': 10, | ||
| 46 | 'selectedColumn': 'doc.title', | ||
| 47 | 'defaultOrder': 'asc' | ||
| 48 | }) | ||
| 49 | #set ($columns2 = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions']) | ||
| 50 | #livetable('materials2' $columns2 $columnsProperties2 $options2) | ||
| 51 | |||
| 52 | == Внешние источники и полезные ссылки(URL) == | ||
| 53 | |||
| 54 | #set ($columnsProperties3 = { | ||
| 55 | 'doc.title': {"link":"view"}, | ||
| 56 | 'doc.location': {"html":true}, | ||
| 57 | 'doc.date': {}, | ||
| 58 | 'doc.author': {"link":"author"}, | ||
| 59 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 60 | }) | ||
| 61 | #set ($options3 = { | ||
| 62 | 'className': 'SUZ.Materials.Code.AssetExternalURLClass', | ||
| 63 | 'translationPrefix': 'materials.livetable.', | ||
| 64 | 'tagCloud': true, | ||
| 65 | 'rowCount': 15, | ||
| 66 | 'maxPages': 10, | ||
| 67 | 'selectedColumn': 'doc.title', | ||
| 68 | 'defaultOrder': 'asc' | ||
| 69 | }) | ||
| 70 | #set ($columns3 = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions']) | ||
| 71 | #livetable('materials3' $columns3 $columnsProperties3 $options3) | ||
| 72 | |||
| 73 | {{/velocity}} |